Browse code

Progress

Benjamin Roth authored on21/02/2023 19:42:19
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+<?php $this->extend('form_textfield'); ?>
2
+
3
+<?php $this->block('field'); ?>
4
+<?php
5
+if (!isset($this->arrAttributes['placeholder']) || !$this->arrAttributes['placeholder'])
6
+{
7
+    $this->arrAttributes['placeholder'] = $this->strLabel;
8
+}
9
+?>
10
+<?php $this->parent(); ?>
11
+<?php $this->endblock(); ?>