<%= text_field_tag ‘login’ ,nil, {:class => ‘line’} %>
the old way work.
<%= f.text_field :login, :class => ‘line’ %>
but why this doesn’t.
<%= text_field_tag ‘login’ ,nil, {:class => ‘line’} %>
the old way work.
<%= f.text_field :login, :class => ‘line’ %>
but why this doesn’t.
What is ‘f’ ? form_tag or field_tag for which object?
On Jun 8, 10:57 am, Zhenning G. [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs