diff options
Diffstat (limited to 'views/default/input/time.php')
-rw-r--r-- | views/default/input/time.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/input/time.php b/views/default/input/time.php index 3d714ccc1..641dd5244 100644 --- a/views/default/input/time.php +++ b/views/default/input/time.php @@ -4,8 +4,7 @@ $defaults = array( 'placeholder' => elgg_echo('placeholder:time'),
);
-$overrides = array(
- 'type' => 'time',
-);
+$vars = array_merge($defaults, $vars);
+?>
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides));
\ No newline at end of file +<input type="time" <?php echo html5_get_html_attributes($vars); ?> />
\ No newline at end of file |