diff options
author | Thomas Lange <code@nerdmind.de> | 2017-05-01 19:20:34 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-05-01 19:20:34 +0200 |
commit | 829e589e852bc49dc44310becc19e54477f66107 (patch) | |
tree | a358365213845e3bbb6320d678208ac3ae5d2cc3 /template/admin/html/user | |
parent | afee0c02981d3918a888d5bbe164f3a8d0e1e87e (diff) | |
download | blog-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/user')
-rw-r--r-- | template/admin/html/user/form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index a3b57c4..be8502c 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/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-key"></i></div> |