rosa-build/app/views/repositories/_form.html.haml

19 lines
734 B
Plaintext
Raw Normal View History

2011-03-31 02:15:17 +01:00
.group
= f.label :name, t("activerecord.attributes.repository.name"), :class => :label
= f.text_field :name, :class => 'text_field'
.group
= f.label :unixname, t("activerecord.attributes.repository.unixname"), :class => :label
= f.text_field :unixname, :class => 'text_field'
.group
= f.label :parent, :class => :label
= f.select :platform_id, @platforms.map { |p| [p.name, p.id] }, :include_blank => true
2011-03-31 02:15:17 +01:00
.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"), @repositories_path + "#repositories", :class => "text_button_padding link_button"
2011-03-31 02:15:17 +01:00