summaryrefslogtreecommitdiff
path: root/includes/sys_form.php
diff options
context:
space:
mode:
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">