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

17 lines
734 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') }
%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
2015-11-26 14:37:03 +05:30
= button_tag 'Delete file', class: 'btn btn-remove btn-remove-file'
2014-09-02 18:07:02 +05:30
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"