2011-03-10 13:38:50 +00:00
|
|
|
%h1= t('layout.platforms.new_header')
|
|
|
|
= form_for @platform do |f|
|
|
|
|
%p
|
|
|
|
= f.label :name
|
|
|
|
= f.text_field :name
|
2011-03-11 10:25:50 +00:00
|
|
|
%p
|
|
|
|
= f.label :unixname
|
|
|
|
= f.text_field :unixname
|
2011-03-10 13:38:50 +00:00
|
|
|
%p
|
|
|
|
= f.label :parent_platform_id
|
|
|
|
= f.select :parent_platform_id, @platforms.map { |p| [p.name, p.id] }, :include_blank => true
|
|
|
|
%p
|
|
|
|
= f.submit t('layout.create')
|
|
|
|
= link_to t('layout.cancel'), platforms_path
|