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:
David Cook
2024-03-06 12:50:36 +11:00
parent 38766f5256
commit e8bd8389b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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")