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

23 lines
849 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
#modal-remove-blob.modal.hide
.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-04-26 12:48:37 +05:30
= form_tag namespace_project_blob_path(@project.namespace, @project, @id), method: :delete, class: 'form-horizontal' do
= render 'shared/commit_message_container', params: params,
placeholder: 'Removed this file because...'
2014-09-02 18:07:02 +05:30
.form-group
.col-sm-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"
2015-04-26 12:48:37 +05:30
:javascript
disableButtonIfEmptyField('#commit_message', '.btn-remove-file')