gitlabhq/app/views/admin/groups/_form.html.haml
Dmitriy Zaporozhets ff9a2e2a93 Improve admin logs
2012-11-29 07:49:11 +03:00

13 lines
374 B
Plaintext

= form_for [:admin, @group] do |f|
- if @group.errors.any?
.alert-message.block-message.error
%span= @group.errors.full_messages.first
.clearfix.group_name_holder
= f.label :name do
Group name is
.input
= f.text_field :name, placeholder: "Example Group", class: "xxlarge"
.form-actions
= f.submit 'Save group', class: "btn save-btn"