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

16 lines
670 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
2017-08-17 22:00:37 +05:30
%a.close{ href: "#", "data-dismiss" => "modal" } ×
2015-11-26 14:37:03 +05:30
%h3.page-title Delete #{@blob.name}
2014-09-02 18:07:02 +05:30
.modal-body
2017-09-10 17:25:29 +05:30
= form_tag project_blob_path(@project, @id), method: :delete, class: 'form-horizontal 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}"
2014-09-02 18:07:02 +05:30
.form-group
2015-09-11 14:41:01 +05:30
.col-sm-offset-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"