rosa-build/app/views/groups/profile/_form.html.haml

17 lines
528 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- act = controller.action_name.to_sym
- if [:new, :create].include? act
.leftlist= f.label :uname, t("activerecord.attributes.group.uname"), class: :label
.rightlist.nomargin= f.text_field :uname
.both
%br
.leftlist= f.label :description, t("activerecord.attributes.group.description"), class: :label
.rightlist.nomargin= f.text_area :description
.both
%br
= render 'shared/avatar_form', subject: @group, f: f
%br
.leftlist
\ 
.rightlist= submit_tag t('layout.save'), data: {'disable-with' => t('layout.saving')}
.both