aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/week.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/week.php')
-rw-r--r--views/default/input/week.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/views/default/input/week.php b/views/default/input/week.php
index 59cf5d7f1..3d09ba07f 100644
--- a/views/default/input/week.php
+++ b/views/default/input/week.php
@@ -1,10 +1,13 @@
<?php
-$defauts = array(
- 'placeholder' => elgg_echo('placeholder:week'),
+$defaults = array(
+ 'class' => 'elgg-input-week',
);
$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'week';
+
?>
-<input type="week" <?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