debian-mirror-gitlab/app/views/projects/blob/_remove.html.haml

17 lines
759 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
#modal-remove-blob.modal
2014-09-02 18:07:02 +05:30
.modal-dialog
.modal-content
.modal-header
2015-11-26 14:37:03 +05:30
%h3.page-title Delete #{@blob.name}
2018-11-08 19:23:39 +05:30
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
2021-09-04 01:27:46 +05:30
%span{ "aria-hidden": "true" } ×
2014-09-02 18:07:02 +05:30
.modal-body
2018-11-08 19:23:39 +05:30
= form_tag project_blob_path(@project, @id), method: :delete, class: 'js-delete-blob-form js-quick-submit js-requires-input' do
2015-11-26 14:37:03 +05:30
= render 'shared/new_commit_form', placeholder: "Delete #{@blob.name}"
2018-11-08 19:23:39 +05:30
.form-group.row
.offset-sm-2.col-sm-10
2021-01-03 14:25:43 +05:30
= button_tag 'Delete file', class: 'btn gl-button btn-danger btn-remove-file'
2021-11-11 11:23:49 +05:30
= link_to _('Cancel'), '#', class: "btn gl-button btn-cancel", "data-dismiss" => "modal"