Fixed users_select_tag method

This commit is contained in:
Dmitriy Zaporozhets 2013-06-11 14:27:27 +03:00
parent c058aaf7dc
commit 0ee2668a4f

View file

@ -194,7 +194,7 @@ module ApplicationHelper
def users_select_tag(id, opts = {})
css_class = "ajax-users-select "
css_class << "multiselect " if opts[:multiple]
css_class << opts[:class] || ''
css_class << (opts[:class] || '')
value = opts[:selected] || ''
hidden_field_tag(id, value, class: css_class)