summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-17 23:33:16 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-17 23:33:21 +0200
commitb53994bb9e4a8f3c2a18725ecbb152cc6463f5d8 (patch)
tree439fd4da18ee5fcc86465b57445af1900d59a613
parent0aec0d53b10078613b66b0d41424ee4264ae6406 (diff)
downloadgitlab-ce-b53994bb9e4a8f3c2a18725ecbb152cc6463f5d8.tar.gz
Remove Cancel button in Project settingsfix-ci-settings-cancel
-rw-r--r--app/views/ci/projects/_form.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/ci/projects/_form.html.haml b/app/views/ci/projects/_form.html.haml
index d50e1a83b06..e782fd8a0f7 100644
--- a/app/views/ci/projects/_form.html.haml
+++ b/app/views/ci/projects/_form.html.haml
@@ -96,6 +96,5 @@
.form-actions
= f.submit 'Save changes', class: 'btn btn-save'
- = link_to 'Cancel', projects_path, class: 'btn'
- unless @project.new_record?
= link_to 'Remove Project', ci_project_path(@project), method: :delete, data: { confirm: 'Project will be removed. Are you sure?' }, class: 'btn btn-danger pull-right'