2012-05-02 10:18:07 +01:00
|
|
|
|
- act = controller.action_name.to_sym
|
|
|
|
|
- if [:new, :create].include? act
|
2014-01-21 04:51:49 +00:00
|
|
|
|
.leftlist= f.label :uname, t("activerecord.attributes.group.uname"), class: :label
|
2012-05-02 10:18:07 +01:00
|
|
|
|
.rightlist.nomargin= f.text_field :uname
|
|
|
|
|
.both
|
|
|
|
|
%br
|
2014-01-21 04:51:49 +00:00
|
|
|
|
.leftlist= f.label :description, t("activerecord.attributes.group.description"), class: :label
|
2012-05-02 10:18:07 +01:00
|
|
|
|
.rightlist.nomargin= f.text_area :description
|
|
|
|
|
.both
|
|
|
|
|
%br
|
2014-01-21 04:51:49 +00:00
|
|
|
|
= render 'shared/avatar_form', subject: @group, f: f
|
2012-10-03 17:38:42 +01:00
|
|
|
|
%br
|
2012-05-02 10:18:07 +01:00
|
|
|
|
.leftlist
|
|
|
|
|
\
|
2014-01-21 04:51:49 +00:00
|
|
|
|
.rightlist= submit_tag t('layout.save'), data: {'disable-with' => t('layout.saving')}
|
2012-05-02 10:18:07 +01:00
|
|
|
|
.both
|