mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
They're being silently discarded. I checked, and those classes weren't needed anyway. (theres' no conditions to even show an error in the second case, but nevermind..)
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
.row
|
|
.alpha.five.columns
|
|
= f.field_container :name do
|
|
= f.label :name, t(".name")
|
|
%span.required *
|
|
%br/
|
|
= error_message_on :taxon, :name
|
|
= 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 :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
|
|
= f.field_container :dfc_id do
|
|
= f.label :dfc_id, t(".dfc_id")
|
|
%br/
|
|
= f.text_field :dfc_id, 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
|