Use chosen for board dropdown filters

This commit is contained in:
Frederic Guillot
2015-02-16 23:02:47 -05:00
parent ba3abb5940
commit 0db66953a7
7 changed files with 27 additions and 24 deletions

View File

@@ -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) {