Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 16:31:15 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-02 16:41:54 +0300
commitca016903054fe53be08b8afeb53c019f44247cf9 (patch)
treec2913f7795160a60dfa09280c4a716310e028ad7 /app/views/projects/new.html.haml
parent67119e15c03d4d1e8abd2ce2cfe1b40aba35c709 (diff)
Add cancel button to forms that didn't have one already
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index fa75a624222..2670b9d9cda 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -100,6 +100,7 @@
.form-actions
= f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 4
+ = link_to 'Cancel', dashboard_projects_path, class: 'btn btn-cancel'
- if current_user.can_create_group?
.pull-right