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
|
|
|
|
|
%a.close{href: "#", "data-dismiss" => "modal"} ×
|
|
|
|
|
%h3.page-title Remove #{@blob.name}
|
|
|
|
|
%p.light
|
|
|
|
|
From branch
|
|
|
|
|
%strong= @ref
|
2013-11-19 09:14:48 -05:00
|
|
|
|
|
2014-01-01 14:59:45 -05:00
|
|
|
|
.modal-body
|
2015-06-26 21:53:17 -04:00
|
|
|
|
= form_tag namespace_project_blob_path(@project.namespace, @project, @id), method: :delete, class: 'form-horizontal js-requires-input' do
|
2014-09-26 18:41:17 -04:00
|
|
|
|
= render 'shared/commit_message_container', params: params,
|
|
|
|
|
placeholder: 'Removed this file because...'
|
2014-01-01 14:59:45 -05:00
|
|
|
|
.form-group
|
2015-06-15 18:48:54 -04:00
|
|
|
|
.col-sm-offset-2.col-sm-10
|
2014-09-26 10:57:36 -04:00
|
|
|
|
= button_tag 'Remove 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"
|