diff options
Diffstat (limited to 'views/default/input')
-rw-r--r-- | views/default/input/date.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/input/date.php b/views/default/input/date.php index 08195afcf..b347f835d 100644 --- a/views/default/input/date.php +++ b/views/default/input/date.php @@ -1,9 +1,10 @@ <?php
+$defaults = array(
+ 'placeholder' => 'yyyy-mm-dd',
+);
$overrides = array(
'type' => 'date',
);
-$args = array_merge($vars, $overrides);
-
-echo elgg_view('input/default', $args);
\ No newline at end of file +echo elgg_view('input/default', array_merge($defaults, $vars, $overrides));
\ No newline at end of file |