.group = f.label :category_id, t("activerecord.attributes.project.category_id"), :class => :label = f.grouped_collection_select :category_id, Category.roots, :children, :name, :id, :name, :include_blank => true .group = f.label :name, t("activerecord.attributes.project.name"), :class => :label = f.text_field :name, :class => 'text_field' .group = f.label :unixname, t("activerecord.attributes.project.unixname"), :class => :label = f.text_field :unixname, :class => 'text_field', :disabled => f.object.try(:persisted?) .group = f.label :visibility, t("activerecord.attributes.project.visibility"), :class => :label = f.select :visibility, Project::VISIBILITIES .group = f.label :description, t("activerecord.attributes.project.description"), :class => :label = f.text_area :description, :class => 'text_field', :cols => 80 .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"), @projects_path, :class => "text_button_padding link_button"