.group = f.label :name, t("activerecord.attributes.group.name"), :class => :label = f.text_field :name, :class => 'text_field' .group = f.label :uname, t("activerecord.attributes.group.uname"), :class => :label = f.text_field :uname, :class => 'text_field', :disabled => f.object.try(:persisted?) .group.navform.wat-cf %button.button{:type => "submit"} = image_tag("web-app-theme/icons/tick.png", :alt => t("layout.save")) = t("layout.save") %span.text_button_padding= t("layout.or") = link_to t("layout.cancel"), users_path, :class => "text_button_padding link_button"