mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
.row{"data-hook" => "admin_inside_taxon_form"}
|
|
.alpha.five.columns
|
|
= f.field_container :name do
|
|
= f.label :name, t(:name)
|
|
%span.required *
|
|
%br/
|
|
= error_message_on :taxon, :name, :class => 'fullwidth title'
|
|
= text_field :taxon, :name, :class => 'fullwidth'
|
|
= f.field_container :permalink_part do
|
|
= f.label :permalink_part, t(:permalink)
|
|
%span.required *
|
|
%br/
|
|
= @taxon.permalink.split("/")[0...-1].join("/") + "/"
|
|
= text_field_tag :permalink_part, @permalink_part
|
|
= f.field_container :icon do
|
|
= f.label :icon, t(:icon)
|
|
%br/
|
|
= f.file_field :icon
|
|
%img{src: @taxon.icon(:original)}
|
|
= f.field_container :meta_title do
|
|
= f.label :meta_title, t(:meta_title)
|
|
%br/
|
|
= f.text_field :meta_title, :class => 'fullwidth', :rows => 6
|
|
= f.field_container :meta_description do
|
|
= f.label :meta_description, t(:meta_description)
|
|
%br/
|
|
= f.text_field :meta_description, :class => 'fullwidth', :rows => 6
|
|
= f.field_container :meta_description do
|
|
= f.label :meta_keywords, t(:meta_keywords)
|
|
%br/
|
|
= f.text_field :meta_keywords, :class => 'fullwidth', :rows => 6
|
|
.omega.seven.columns
|
|
= f.field_container :description do
|
|
= f.label :description, t(:description)
|
|
%br/
|
|
= f.text_area :description, :class => 'fullwidth', :rows => 6
|