import.html.haml 651 Bytes
Newer Older
1
%h3.page-title
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
2 3
  = "Import members from another project"
%p.light
4
  Only project members will be imported. Group members will be skipped.
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5 6 7 8
%hr
= form_tag apply_import_project_team_members_path(@project), method: 'post' do
  .padded
    = label_tag :source_project_id, "Project"
9
    .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: "chosen lg", required: true)
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10

11
  .form-actions
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
    = submit_tag 'Import project members', class: "btn btn-create"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
13
    = link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
14