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

19 lines
776 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
%a.close{href: "#", "data-dismiss" => "modal"} ×
%h3.page-title Remove #{@blob.name}
%p.light
From branch
%strong= @ref
.modal-body
2015-09-11 14:41:01 +05:30
= form_tag namespace_project_blob_path(@project.namespace, @project, @id), method: :delete, class: 'form-horizontal js-requires-input' do
2015-04-26 12:48:37 +05:30
= render 'shared/commit_message_container', params: params,
placeholder: 'Removed this file because...'
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-04-26 12:48:37 +05:30
= button_tag 'Remove 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"