F
F
FreezkoSS2018-04-27 10:19:41
Ruby on Rails
FreezkoSS, 2018-04-27 10:19:41

How to style the email_field_tag(:email) field?

I'm trying to set styles for the field, but it gives an error, although the syntax seems to be set exactly like this, what's the problem?
5ae2ceb6b7413839049747.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Demidenko, 2018-04-27
@FreezkoSS

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

Link to Documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question