aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/datetime-local.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/datetime-local.php')
-rw-r--r--views/default/input/datetime-local.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/views/default/input/datetime-local.php b/views/default/input/datetime-local.php
index c9f0b32f9..e0ab4b171 100644
--- a/views/default/input/datetime-local.php
+++ b/views/default/input/datetime-local.php
@@ -1,14 +1,6 @@
<?php
-$defaults = array(
- 'placeholder' => elgg_echo('placeholder:datetime-local'), //'yyyy-mm-ddThh:mm:ss',
-);
-
-$overrides = array(
- 'type' => 'datetime-local',
-);
-
if (isset($vars['value']) && is_int($vars['value'])) {
$vars['value'] = date("Y-m-d\TH:i:s", $vars['value']);
}
-
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+?>
+<input type="datetime-local" <?php echo html5_get_html_attributes($vars); ?> /> \ No newline at end of file