Commit 0ee2668a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed users_select_tag method

parent c058aaf7
...@@ -194,7 +194,7 @@ module ApplicationHelper ...@@ -194,7 +194,7 @@ module ApplicationHelper
def users_select_tag(id, opts = {}) def users_select_tag(id, opts = {})
css_class = "ajax-users-select " css_class = "ajax-users-select "
css_class << "multiselect " if opts[:multiple] css_class << "multiselect " if opts[:multiple]
css_class << opts[:class] || '' css_class << (opts[:class] || '')
value = opts[:selected] || '' value = opts[:selected] || ''
hidden_field_tag(id, value, class: css_class) hidden_field_tag(id, value, class: css_class)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment