27 lines
849 B
Plaintext
27 lines
849 B
Plaintext
.group
|
|
= f.label :name, :class => :label
|
|
= f.text_field :name, :class => 'text_field'
|
|
|
|
.group
|
|
= f.label :unixname, :class => :label
|
|
= f.text_field :unixname, :class => 'text_field'
|
|
|
|
.group
|
|
= f.label :distrib_type, :class => :label
|
|
= f.select :distrib_type, options_for_select(APP_CONFIG['distr_types'])
|
|
|
|
.group
|
|
= f.label :parent, :class => :label
|
|
= f.select :parent_platform_id, @platforms.map { |p| [p.name, p.id] }, :include_blank => true
|
|
|
|
.group
|
|
= f.label :released, :class => :label
|
|
= f.check_box :released, :class => 'check_box'
|
|
|
|
.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"), @platforms_path, :class => "text_button_padding link_button"
|