Commit 16567af9f56d8e4131a61563e67e3136ffaecf8c

Authored by dosire
1 parent e7087fbf

Use placeholder to prevent using the find box to add new members.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/groups/members.html.haml
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 .clearfix.js-toggle-container 12 .clearfix.js-toggle-container
13 = form_tag members_group_path(@group), method: :get, class: 'form-inline member-search-form' do 13 = form_tag members_group_path(@group), method: :get, class: 'form-inline member-search-form' do
14 .form-group 14 .form-group
15 - = search_field_tag :search, params[:search], { placeholder: 'Find member by name', class: 'form-control search-text-input input-mn-300' } 15 + = search_field_tag :search, params[:search], { placeholder: 'Find existing member by name', class: 'form-control search-text-input input-mn-300' }
16 = submit_tag 'Search', class: 'btn' 16 = submit_tag 'Search', class: 'btn'
17 17
18 - if current_user && current_user.can?(:manage_group, @group) 18 - if current_user && current_user.can?(:manage_group, @group)