- 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 .leftlist \  .rightlist = submit_tag t("layout.save") .both