2012-10-24 13:20:53 +02:00
|
|
|
= render "projects/project_head"
|
|
|
|
|
|
|
|
%h3.page_title
|
|
|
|
= "Import team from another project"
|
|
|
|
%hr
|
|
|
|
%p.slead
|
2013-01-23 15:14:20 +01:00
|
|
|
Read more about project team import #{link_to "here", '#', class: 'vlink'}.
|
2012-10-24 13:20:53 +02:00
|
|
|
= form_tag apply_import_project_team_members_path(@project), method: 'post' do
|
|
|
|
%p.slead Choose project you want to use as team source:
|
|
|
|
.padded
|
|
|
|
= label_tag :source_project_id, "Project"
|
2012-12-30 12:37:33 +01:00
|
|
|
.input= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen xxlarge", required: true)
|
2012-10-24 13:20:53 +02:00
|
|
|
|
|
|
|
.actions
|
2013-01-29 21:18:19 +01:00
|
|
|
= submit_tag 'Import', class: "btn btn-save"
|
|
|
|
= link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel"
|
2012-10-24 13:20:53 +02:00
|
|
|
|