2015-06-15 18:53:06 -04:00
|
|
|
#modal-remove-blob.modal
|
2014-01-01 14:59:45 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2015-11-17 12:53:56 -05:00
|
|
|
%h3.page-title Delete #{@blob.name}
|
2018-06-01 10:01:37 -04:00
|
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
|
|
|
%span{ "aria-hidden": true } ×
|
2013-11-19 09:14:48 -05:00
|
|
|
|
2014-01-01 14:59:45 -05:00
|
|
|
.modal-body
|
2018-04-12 16:11:22 -04:00
|
|
|
= form_tag project_blob_path(@project, @id), method: :delete, class: 'js-delete-blob-form js-quick-submit js-requires-input' do
|
2015-11-17 12:53:56 -05:00
|
|
|
= render 'shared/new_commit_form', placeholder: "Delete #{@blob.name}"
|
|
|
|
|
2018-04-12 16:11:22 -04:00
|
|
|
.form-group.row
|
2018-04-13 13:49:32 -04:00
|
|
|
.offset-sm-2.col-sm-10
|
2015-11-17 12:53:56 -05:00
|
|
|
= button_tag 'Delete file', class: 'btn btn-remove btn-remove-file'
|
2014-01-01 14:59:45 -05:00
|
|
|
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
|