summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-16 23:02:47 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-16 23:02:47 -0500
commit0db66953a78b704e3710b970ab11b87058bb3859 (patch)
tree3e2ac3d2557dbe13d479dbb93d13463c270bb1fe /app/Core
parentba3abb5940bd00c87ffe594eec83b95d428a575f (diff)
Use chosen for board dropdown filters
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/Helper.php4
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) {