aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/month.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/month.php')
-rw-r--r--views/default/input/month.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/views/default/input/month.php b/views/default/input/month.php
index 071d40262..4bd320046 100644
--- a/views/default/input/month.php
+++ b/views/default/input/month.php
@@ -1,14 +1,7 @@
<?php
-$defaults = array(
- 'placeholder' => elgg_echo('placeholder:month'),
-);
-
-$overrides = array(
- 'type' => 'month',
-);
-
if (isset($vars['value']) && is_int($vars['value'])) {
$vars['value'] = date("Y-m", $vars['value']);
}
+?>
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+<input type="month" <?php echo html5_get_html_attributes($vars); ?> /> \ No newline at end of file