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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-11 06:04:15 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 19:58:26 +0300
commitf98e97fe78dce11a1f88c3961be402d179e63927 (patch)
treebaa476bbbe5d431cc9169ab05f1ad133cb13b434 /app/views/projects/labels/new.html.haml
parent00e3c2e00f1c81aa2f7a76e4d93c8a1fb2074d6e (diff)
Reduce duplication between the project and group label forms
Diffstat (limited to 'app/views/projects/labels/new.html.haml')
-rw-r--r--app/views/projects/labels/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/new.html.haml b/app/views/projects/labels/new.html.haml
index 0c177feb43c..f0d9be744d1 100644
--- a/app/views/projects/labels/new.html.haml
+++ b/app/views/projects/labels/new.html.haml
@@ -6,4 +6,4 @@
%h3.page-title
New Label
%hr
- = render 'form', url: namespace_project_labels_path(@project.namespace.becomes(Namespace), @project)
+ = render 'shared/labels/form', url: namespace_project_labels_path(@project.namespace.becomes(Namespace), @project), back_path: namespace_project_labels_path(@project.namespace, @project)