diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-10 15:25:32 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 12:08:10 +0200 |
commit | 87dd3f215f8c087d85cde7ac880c5480fd501303 (patch) | |
tree | ffb0f7dde79d9b2336de5dc55a159f7d1a02192c /app/views/projects | |
parent | 717fa136a5146d45660d3d97f5671352a47a0601 (diff) | |
download | gitlab-ce-87dd3f215f8c087d85cde7ac880c5480fd501303.tar.gz |
Let members be invited from Add members pane.
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/project_members/_new_project_member.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/project_members/_new_project_member.html.haml b/app/views/projects/project_members/_new_project_member.html.haml index 5daae2708e6..d708b01a114 100644 --- a/app/views/projects/project_members/_new_project_member.html.haml +++ b/app/views/projects/project_members/_new_project_member.html.haml @@ -1,7 +1,10 @@ = form_for @project_member, as: :project_member, url: namespace_project_project_members_path(@project.namespace, @project), html: { class: 'form-horizontal users-project-form' } do |f| .form-group = f.label :user_ids, "People", class: 'control-label' - .col-sm-10= users_select_tag(:user_ids, multiple: true, class: 'input-large', scope: :all) + .col-sm-10 + = users_select_tag(:user_ids, multiple: true, class: 'input-large', scope: :all, email_user: true) + .help-block + Search for existing users or invite new ones using their email address. .form-group = f.label :access_level, "Project Access", class: 'control-label' |