diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-05-01 10:39:11 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-05-01 10:39:16 +0200 |
commit | 92fd3ccee05acdfd5e498734ed287458a8dd21a3 (patch) | |
tree | a794a8017636ce7f50a7f4ef4201395894a5451e /app/views/groups/new.html.haml | |
parent | ae09c2a6db0d15caedc080c319add147c79fd02a (diff) | |
download | gitlab-ce-92fd3ccee05acdfd5e498734ed287458a8dd21a3.tar.gz |
Add helpers for header title and sidebar, and move setting those from controllers to layouts.
Diffstat (limited to 'app/views/groups/new.html.haml')
-rw-r--r-- | app/views/groups/new.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml index 6e17cdaef6f..edb882bea19 100644 --- a/app/views/groups/new.html.haml +++ b/app/views/groups/new.html.haml @@ -1,3 +1,5 @@ +- page_title 'New Group' +- header_title 'New Group' = form_for @group, html: { class: 'group-form form-horizontal' } do |f| - if @group.errors.any? .alert.alert-danger |