26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
.block
|
|
.secondary-navigation
|
|
%ul.wat-cf
|
|
%li.first= link_to "#{t("layout.platforms.list")}", @platforms_path
|
|
%li= link_to "#{t("layout.platforms.new")}", @new_platform_path
|
|
%li.active= link_to "#{t("layout.platforms.clone")}", clone_platform_path(@platfrom)
|
|
.content
|
|
%h2.title
|
|
= t("layout.platforms.clone_header")
|
|
.inner
|
|
= form_for @cloned, :url => clone_platform_path(@platform), :html => { :class => :form } do |f|
|
|
.group
|
|
= f.label :name, :class => :label
|
|
= f.text_field :name, :class => 'text_field'
|
|
|
|
.group
|
|
= f.label :description, :class => :label
|
|
= f.text_field :description, :class => 'text_field'
|
|
|
|
.group.navform.wat-cf
|
|
%button.button{:type => "submit"}
|
|
= image_tag("web-app-theme/icons/tick.png", :alt => t("layout.save"))
|
|
= t("layout.clone")
|
|
%span.text_button_padding= t("layout.or")
|
|
= link_to t("layout.cancel"), @platforms_path, :class => "text_button_padding link_button"
|