summaryrefslogtreecommitdiff
path: root/includes/sys_form.php
diff options
context:
space:
mode:
authorNos- <Nos-@users.noreply.github.com>2018-08-28 00:39:11 +0200
committermsquare <msquare@notrademark.de>2018-08-28 18:33:15 +0200
commitac6361b51bed8f9d3b540c2604d6750bf5ada535 (patch)
tree3732f9109fbf87817af294be27d351d76bd076d8 /includes/sys_form.php
parentee3e4193c5a3e16a40b0a809064bb58a4018b496 (diff)
Tried to fix inputfields for date, email, tel
Diffstat (limited to 'includes/sys_form.php')
-rw-r--r--includes/sys_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/sys_form.php b/includes/sys_form.php
index c974c1d1..ef0c877a 100644
--- a/includes/sys_form.php
+++ b/includes/sys_form.php
@@ -68,7 +68,7 @@ function form_date($name, $label, $value, $start_date = '', $end_date = '')
$end_date = is_numeric($end_date) ? date('Y-m-d', $end_date) : '';
return form_element($label, '
<div class="input-group date" id="' . $dom_id . '">
- <input name="' . $name . '" class="form-control" value="' . htmlspecialchars($value) . '">'
+ <input type="date" name="' . $name . '" class="form-control" value="' . htmlspecialchars($value) . '">'
. '<span class="input-group-addon">' . glyph('th') . '</span>
</div>
<script type="text/javascript">