2012-03-30 15:54:30 +01:00
|
|
|
-set_meta_tags :title => [title_object(@platform), t('layout.platforms.clone_header')]
|
2012-03-13 15:05:33 +00:00
|
|
|
= render :partial => 'submenu'
|
|
|
|
= render :partial => 'sidebar'
|
|
|
|
|
|
|
|
= form_for @cloned, :url => make_clone_platform_path(@platform), :html => { :class => :form } do |f|
|
|
|
|
.leftlist= f.label :name, :class => :label
|
|
|
|
.rightlist= f.text_field :name, :class => 'text_field'
|
|
|
|
|
|
|
|
.leftlist= f.label :description, :class => :label
|
|
|
|
.rightlist= f.text_field :description, :class => 'text_field'
|
|
|
|
|
2012-03-14 17:22:47 +00:00
|
|
|
.both
|
|
|
|
|
2012-03-13 15:05:33 +00:00
|
|
|
.button_block
|
|
|
|
= submit_tag t("layout.clone")
|
|
|
|
%span.text_button_padding= t("layout.or")
|
2012-04-01 16:19:54 +01:00
|
|
|
= link_to t("layout.cancel"), platform_path(@platform), :class => "button"
|