2012-10-02 18:01:40 +02:00
|
|
|
= 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
|
2012-10-03 11:49:43 +02:00
|
|
|
= f.submit 'Save group', class: "btn save-btn"
|