summaryrefslogtreecommitdiff
path: root/app/views/groups/edit.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 19:26:12 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-04 19:26:12 +0200
commit09c2f8c7b10fe78a0e3feead06b6010f88238c79 (patch)
tree1d0e5ae984b5e3aa14313dde61da022280d6b3f9 /app/views/groups/edit.html.haml
parentb765d7d739be09997257dbea21ad854c33eb3890 (diff)
downloadgitlab-ce-09c2f8c7b10fe78a0e3feead06b6010f88238c79.tar.gz
Improve group views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups/edit.html.haml')
-rw-r--r--app/views/groups/edit.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index 3e685d01b95..77734815b8a 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -20,18 +20,18 @@
%strong= @group.name
group settings:
%div.form-holder
- = form_for @group do |f|
+ = form_for @group, html: { class: "form-horizontal" } do |f|
- if @group.errors.any?
.alert.alert-danger
%span= @group.errors.full_messages.first
.form-group
- = f.label :name do
+ = f.label :name, class: 'control-label' do
Group name
.col-sm-10
= f.text_field :name, placeholder: "Ex. OpenSource", class: "form-control left"
.form-group.group-description-holder
- = f.label :description, "Details"
+ = f.label :description, "Details", class: 'control-label'
.col-sm-10
= f.text_area :description, maxlength: 250, class: "form-control js-gfm-input", rows: 4