aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/post/form.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-05-01 19:20:34 +0200
committerThomas Lange <code@nerdmind.de>2017-05-01 19:20:34 +0200
commit829e589e852bc49dc44310becc19e54477f66107 (patch)
treea358365213845e3bbb6320d678208ac3ae5d2cc3 /template/admin/html/post/form.php
parentafee0c02981d3918a888d5bbe164f3a8d0e1e87e (diff)
downloadblog-829e589e852bc49dc44310becc19e54477f66107.tar.gz
blog-829e589e852bc49dc44310becc19e54477f66107.tar.xz
blog-829e589e852bc49dc44310becc19e54477f66107.zip
Semantic HTML5 attribute "type" with value "number" for numeric form fields added.
Diffstat (limited to 'template/admin/html/post/form.php')
-rw-r--r--template/admin/html/post/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index 549233d..3ad4376 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -12,7 +12,7 @@
<section>
<div class="form-icon-flex"><i class="fa fa-database"></i></div>
<div class="form-label-flex"><label for="form_id">ID</label></div>
- <div class="form-field-flex"><input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="form_id" name="id" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></div>
+ <div class="form-field-flex"><input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></div>
</section>
<section>
<div class="form-icon-flex"><i class="fa fa-user"></i></div>