aboutsummaryrefslogtreecommitdiff
path: root/mod/html5/views/default/input/time.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/html5/views/default/input/time.php')
-rw-r--r--mod/html5/views/default/input/time.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/html5/views/default/input/time.php b/mod/html5/views/default/input/time.php
new file mode 100644
index 000000000..6bb557266
--- /dev/null
+++ b/mod/html5/views/default/input/time.php
@@ -0,0 +1,13 @@
+<?php
+
+$defaults = array(
+ 'class' => 'elgg-input-time',
+);
+
+$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'time';
+
+?>
+
+<input <?php echo elgg_format_attributes($vars); ?> /> \ No newline at end of file