1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,13 @@ |
1 |
+<?php |
|
2 |
+if (!isset($this->arrAttributes['placeholder']) || !$this->arrAttributes['placeholder']) |
|
3 |
+{ |
|
4 |
+ $this->arrAttributes['placeholder'] = $this->strLabel; |
|
5 |
+} |
|
6 |
+?> |
|
7 |
+<div class="<?= $this->prefix ?><?php if ($this->class): ?> <?= $this->class ?><?php endif; ?>"> |
|
8 |
+ <?php $this->block('field'); ?> |
|
9 |
+ <?php $this->endblock(); ?> |
|
10 |
+ |
|
11 |
+ <?php $this->block('label'); ?> |
|
12 |
+ <?php $this->endblock(); ?> |
|
13 |
+</div> |