From 829e589e852bc49dc44310becc19e54477f66107 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 1 May 2017 19:20:34 +0200 Subject: Semantic HTML5 attribute "type" with value "number" for numeric form fields added. --- template/admin/html/page/form.php | 2 +- template/admin/html/post/form.php | 2 +- template/admin/html/user/form.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 29f940a..4ab61ae 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -12,7 +12,7 @@
-
id="form_id" name="id" placeholder="[AUTO_INCREMENT]" value="" />
+
id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="" />
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 @@
-
id="form_id" name="id" placeholder="[AUTO_INCREMENT]" value="" />
+
id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="" />
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 @@
-
id="form_id" name="id" placeholder="[AUTO_INCREMENT]" value="" />
+
id="form_id" name="id" type="number" placeholder="[AUTO_INCREMENT]" value="" />
-- cgit v1.2.3