debian-mirror-gitlab/app/views/projects/project_members/import.html.haml
2021-01-30 21:13:32 +05:30

15 lines
752 B
Text

- page_title _("Import members")
%h3.page-title
= _("Import members from another project")
%p.light
= _("Only project members will be imported. Group members will be skipped.")
%hr
= form_tag apply_import_project_project_members_path(@project), method: 'post' do
.form-group.row
= label_tag :source_project_id, _("Project"), class: 'col-form-label col-sm-2'
.col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(@projects, :id, :name_with_namespace), prompt: "Select project", class: "select2 lg", required: true)
.form-actions
= button_tag _('Import project members'), class: "btn gl-button btn-success"
= link_to _("Cancel"), project_project_members_path(@project), class: "btn gl-button btn-cancel"