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

_remove.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: 09559a4967b929b0a0a8c61754587dc6bf26c6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#modal-remove-blob.modal.hide
  .modal-dialog
    .modal-content
      .modal-header
        %a.close{href: "#", "data-dismiss" => "modal"} ×
        %h3.page-title Remove #{@blob.name}
        %p.light
          From branch
          %strong= @ref

      .modal-body
        = form_tag namespace_project_blob_path(@project.namespace, @project, @id), method: :delete, class: 'form-horizontal' do
          = render 'shared/commit_message_container', params: params,
                   placeholder: 'Removed this file because...'
          .form-group
            .col-sm-2
            .col-sm-10
              = button_tag 'Remove file', class: 'btn btn-remove btn-remove-file'
              = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"

:javascript
  disableButtonIfEmptyField('#commit_message', '.btn-remove-file')