mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
Fix inline error style in Add Manager dialog to match product list
Add .field class to the email row in the user invitation modal so the .formError styles (icon, color, font-size) defined in forms.scss apply consistently with the product list inline errors. Fixes #13993
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
%p= t ".description"
|
||||
|
||||
%fieldset.no-border-top.no-border-bottom
|
||||
.row
|
||||
.row.field
|
||||
= f.label :email, t(:email)
|
||||
= f.email_field :email, placeholder: t('.eg_email_address'), data: { controller: "select-user" }, inputmode: "email", autocomplete: "off"
|
||||
= f.error_message_on :email
|
||||
|
||||
Reference in New Issue
Block a user