2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title
|
2014-08-26 11:58:05 -04:00
|
|
|
Import members from another project
|
2013-08-06 10:58:45 -04:00
|
|
|
%p.light
|
2013-08-15 14:19:29 -04:00
|
|
|
Only project members will be imported. Group members will be skipped.
|
2012-10-24 07:20:53 -04:00
|
|
|
%hr
|
2015-03-13 11:30:36 -04:00
|
|
|
= form_tag apply_import_namespace_project_project_members_path(@project.namespace, @project), method: 'post', class: 'form-horizontal' do
|
2014-01-08 11:59:23 -05:00
|
|
|
.form-group
|
|
|
|
= label_tag :source_project_id, "Project", class: 'control-label'
|
2014-01-11 05:11:54 -05:00
|
|
|
.col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "select2 lg", required: true)
|
2012-10-24 07:20:53 -04:00
|
|
|
|
2013-08-07 16:35:24 -04:00
|
|
|
.form-actions
|
2014-09-26 10:57:36 -04:00
|
|
|
= button_tag 'Import project members', class: "btn btn-create"
|
2015-03-13 11:30:36 -04:00
|
|
|
= link_to "Cancel", namespace_project_project_members_path(@project.namespace, @project), class: "btn btn-cancel"
|
2012-10-24 07:20:53 -04:00
|
|
|
|