How to specify styles for fields email_field_tag(:email)?

0 like 0 dislike
14 views
Trying to set styles to the field, but throws an error although the syntax like you have to ask, what's the problem?
5ae2ceb6b7413839049747.png
by | 14 views

1 Answer

0 like 0 dislike
<%= email_field_tag(:email, nil, class: 'sub_mail' %>

A link to the documentation
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
asked Mar 25, 2019 by verybigman
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,932 users