aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/pulldown.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/pulldown.php')
-rw-r--r--views/default/input/pulldown.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/input/pulldown.php b/views/default/input/pulldown.php
index 081dffc2a..96b4d19aa 100644
--- a/views/default/input/pulldown.php
+++ b/views/default/input/pulldown.php
@@ -18,11 +18,15 @@
* @uses $vars['options_values'] An associative array of "value" => "option" where "value" is an internal name and "option" is
* the value displayed on the button. Replaces $vars['options'] when defined.
*/
+
+
+ $class = $vars['class'];
+ if (!$class) $class = "input-pulldown";
?>
-<select name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?> <?php if ($vars['disabled']) echo ' disabled="yes" '; ?>>
+<select name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?> <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> class="<?php echo $class; ?>">
<?php
if ($vars['options_values'])
{