Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_new_dir.html.haml « blob « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1da9154df9f253b747af24e9187260a6e025fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#modal-create-new-dir.modal
  .modal-dialog.modal-lg
    .modal-content
      .modal-header
        %h1.page-title.gl-font-size-h-display= _('Create New Directory')
        %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
          %span{ "aria-hidden": "true" } ×
      .modal-body
        = form_tag project_create_dir_path(@project, @id), method: :post, remote: false, class: 'js-create-dir-form js-quick-submit js-requires-input' do
          .form-group.row
            = label_tag :dir_name, _('Directory name'), class: 'col-form-label col-sm-2'
            .col-sm-10
              = text_field_tag :dir_name, params[:dir_name], required: true, class: 'form-control'

          = render 'shared/new_commit_form', placeholder: _("Add new directory")

          .form-actions
            = submit_tag _("Create directory"), class: 'btn gl-button btn-confirm'
            = link_button_to _('Cancel'), '#', "data-dismiss" => "modal"

            = render 'shared/projects/edit_information'