mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove unused parameters
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..)
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
= f.label :name, t("spree.name")
|
||||
%span.required *
|
||||
%br/
|
||||
= error_message_on :taxonomy, :name, class: 'fullwidth title'
|
||||
= error_message_on :taxonomy, :name
|
||||
= text_field :taxonomy, :name
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
= f.label :name, t(".name")
|
||||
%span.required *
|
||||
%br/
|
||||
= error_message_on :taxon, :name, class: 'fullwidth title'
|
||||
= error_message_on :taxon, :name
|
||||
= text_field :taxon, :name, class: 'fullwidth'
|
||||
= f.field_container :permalink_part do
|
||||
= f.label :permalink_part, t(".permalink")
|
||||
|
||||
Reference in New Issue
Block a user