summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_remove.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/_remove.html.haml')
-rw-r--r--app/views/projects/blob/_remove.html.haml22
1 files changed, 0 insertions, 22 deletions
diff --git a/app/views/projects/blob/_remove.html.haml b/app/views/projects/blob/_remove.html.haml
deleted file mode 100644
index 09559a4967b..00000000000
--- a/app/views/projects/blob/_remove.html.haml
+++ /dev/null
@@ -1,22 +0,0 @@
-#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
- = 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...'
- .form-group
- .col-sm-2
- .col-sm-10
- = button_tag 'Remove file', class: 'btn btn-remove btn-remove-file'
- = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
-
-:javascript
- disableButtonIfEmptyField('#commit_message', '.btn-remove-file')