I am trying to give a class to my text_field_tag
I have this
<%= text_field_tag :login_aei, class: 'form-control' %>
but it keeps generating this :
<input type="text" name="login_aei" id="login_aei" value="{:class=>"form-control"}">
What am I doing wrong ?