From a642aecca9ff55f9c84df5c8d8c841f00c854a95 Mon Sep 17 00:00:00 2001 From: Florian Kraft Date: Fri, 27 Mar 2015 14:00:15 +0100 Subject: [PATCH] use a normal select instead of a form select not to interfere with select2 [ci skip] --- app/views/members/_member_form_non_impaired.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/members/_member_form_non_impaired.html.erb b/app/views/members/_member_form_non_impaired.html.erb index 9e90405fb6..8c95965c1b 100644 --- a/app/views/members/_member_form_non_impaired.html.erb +++ b/app/views/members/_member_form_non_impaired.html.erb @@ -39,7 +39,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= styled_label_tag :member_user_ids, l(:label_principal_search) %> - <%= styled_select_tag "member[user_ids]", options_for_select([]), + <%= select_tag "member[user_ids]", options_for_select([]), :title => l(:label_principal_search), :multiple => true, :'data-ajaxURL' => url_for(:controller => "/members", :action => "autocomplete_for_member"), @@ -52,7 +52,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= styled_label_tag :member_role_ids, l(:label_role_search) %> <% options = roles.collect { |obj| [obj.name, obj.id] } %> - <%= styled_select_tag 'member[role_ids]', options_for_select(options), + <%= select_tag 'member[role_ids]', options_for_select(options), :multiple => true, no_label: true, :title => l(:label_role_search),