16eb3ac360
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
19 lines
751 B
Text
19 lines
751 B
Text
%div#modal-remove-blob.modal.gl-hide
|
||
.modal-header
|
||
%a.close{href: "#", "data-dismiss" => "modal"} ×
|
||
%h3.page-title Remove #{@blob.name}
|
||
%p.light
|
||
From branch
|
||
%strong= @ref
|
||
|
||
.modal-body
|
||
= form_tag project_blob_path(@project, @id), method: :delete do
|
||
.form-group.commit_message-group
|
||
= label_tag 'commit_message', class: "control-label" do
|
||
Commit message
|
||
.col-sm-10
|
||
= text_area_tag 'commit_message', params[:commit_message], placeholder: "Removed this file because...", required: true, rows: 3
|
||
.form-group
|
||
.col-sm-10
|
||
= submit_tag 'Remove file', class: 'btn btn-remove'
|
||
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
|