aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/password.php')
-rw-r--r--views/default/input/password.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/input/password.php b/views/default/input/password.php
index 740a1a3f0..6fbd7254b 100644
--- a/views/default/input/password.php
+++ b/views/default/input/password.php
@@ -16,7 +16,9 @@
* @uses $vars['internalname'] The name of the input field
*
*/
-
+
+ $class = $vars['class'];
+ if (!$class) $class = "input-password";
?>
-<input type="password" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" /> \ No newline at end of file
+<input type="password" <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" value="<?php echo $vars['value']; ?>" class="<?php echo $class; ?>" /> \ No newline at end of file