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