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:
Matt Van Horn
2026-03-18 00:13:54 -07:00
parent 939ae20081
commit 1878a39188

View File

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