diff options
author | dosire <sytses@gmail.com> | 2014-04-08 11:11:14 +0200 |
---|---|---|
committer | dosire <sytses@gmail.com> | 2014-04-08 11:11:14 +0200 |
commit | 16567af9f56d8e4131a61563e67e3136ffaecf8c (patch) | |
tree | b916bf7a3a700f523baaaaf9610c762aa40dc79f | |
parent | e7087fbfc4146d52fdac8a73e6c3157c3aa57cfa (diff) | |
download | gitlab-ce-16567af9f56d8e4131a61563e67e3136ffaecf8c.tar.gz |
Use placeholder to prevent using the find box to add new members.
-rw-r--r-- | app/views/groups/members.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/members.html.haml b/app/views/groups/members.html.haml index 2d0605b18ad..fa44ee2ae1a 100644 --- a/app/views/groups/members.html.haml +++ b/app/views/groups/members.html.haml @@ -12,7 +12,7 @@ .clearfix.js-toggle-container = form_tag members_group_path(@group), method: :get, class: 'form-inline member-search-form' do .form-group - = search_field_tag :search, params[:search], { placeholder: 'Find member by name', class: 'form-control search-text-input input-mn-300' } + = search_field_tag :search, params[:search], { placeholder: 'Find existing member by name', class: 'form-control search-text-input input-mn-300' } = submit_tag 'Search', class: 'btn' - if current_user && current_user.can?(:manage_group, @group) |