aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/time.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/time.php')
-rw-r--r--views/default/input/time.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/input/time.php b/views/default/input/time.php
index 58c8b0928..6bb557266 100644
--- a/views/default/input/time.php
+++ b/views/default/input/time.php
@@ -1,10 +1,13 @@
<?php
$defaults = array(
- 'placeholder' => elgg_echo('placeholder:time'),
+ 'class' => 'elgg-input-time',
);
$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'time';
+
?>
-<input type="time" <?php echo elgg_format_attributes($vars); ?> /> \ No newline at end of file
+<input <?php echo elgg_format_attributes($vars); ?> /> \ No newline at end of file