From b53994bb9e4a8f3c2a18725ecbb152cc6463f5d8 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 17 Sep 2015 23:33:16 +0200 Subject: Remove Cancel button in Project settings --- app/views/ci/projects/_form.html.haml | 1 - 1 file changed, 1 deletion(-) 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' -- cgit v1.2.1