diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-16 23:02:47 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-16 23:02:47 -0500 |
commit | 0db66953a78b704e3710b970ab11b87058bb3859 (patch) | |
tree | 3e2ac3d2557dbe13d479dbb93d13463c270bb1fe /app/Core/Helper.php | |
parent | ba3abb5940bd00c87ffe594eec83b95d428a575f (diff) |
Use chosen for board dropdown filters
Diffstat (limited to 'app/Core/Helper.php')
-rw-r--r-- | app/Core/Helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Core/Helper.php b/app/Core/Helper.php index 187fcfbb..9f69cee1 100644 --- a/app/Core/Helper.php +++ b/app/Core/Helper.php @@ -221,9 +221,9 @@ class Helper * @param string $class CSS class * @return string */ - public function formSelect($name, array $options, array $values = array(), array $errors = array(), $class = '') + public function formSelect($name, array $options, array $values = array(), array $errors = array(), array $attributes = array(), $class = '') { - $html = '<select name="'.$name.'" id="form-'.$name.'" class="'.$class.'">'; + $html = '<select name="'.$name.'" id="form-'.$name.'" class="'.$class.'" '.implode(' ', $attributes).'>'; foreach ($options as $id => $value) { |