From e8bd8389b519ce1289a133435460d8cd96e2d45e Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 6 Mar 2024 12:50:36 +1100 Subject: [PATCH] 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..) --- app/views/spree/admin/taxonomies/_form.html.haml | 2 +- app/views/spree/admin/taxons/_form.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/taxonomies/_form.html.haml b/app/views/spree/admin/taxonomies/_form.html.haml index 81927c7c1a..ac60030374 100644 --- a/app/views/spree/admin/taxonomies/_form.html.haml +++ b/app/views/spree/admin/taxonomies/_form.html.haml @@ -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 diff --git a/app/views/spree/admin/taxons/_form.html.haml b/app/views/spree/admin/taxons/_form.html.haml index 0d1bcd0605..621b5eadf8 100644 --- a/app/views/spree/admin/taxons/_form.html.haml +++ b/app/views/spree/admin/taxons/_form.html.haml @@ -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")