16 lines
601 B
Plaintext
16 lines
601 B
Plaintext
|
= form_for @category, :html => { :class => :form } do |f|
|
||
|
.group
|
||
|
= f.label :parent_id, :class => :label
|
||
|
= f.collection_select :parent_id, Category.roots, :id, :name, :include_blank => true
|
||
|
|
||
|
.group
|
||
|
= f.label :name, :class => :label
|
||
|
= f.text_field :name, :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.save")
|
||
|
%span.text_button_padding= t("layout.or")
|
||
|
= link_to t("layout.cancel"), categories_path, :class => "text_button_padding link_button"
|