diff options
Diffstat (limited to 'views/default/input/email.php')
-rw-r--r-- | views/default/input/email.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/views/default/input/email.php b/views/default/input/email.php index 15e36f145..de98d9c4f 100644 --- a/views/default/input/email.php +++ b/views/default/input/email.php @@ -1 +1,12 @@ -<input type="email" <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file +<?php
+$defaults = array(
+ 'class' => 'elgg-input-email',
+);
+
+$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'email';
+
+?>
+
+<input <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file |