<%= text_field_tag ''login'' ,nil, {:class => ''line''} %> the old way work. <%= f.text_field :login, :class => ''line'' %> but why this doesn''t. -- Posted via http://www.ruby-forum.com/.
What is ''f'' ? form_tag or field_tag for which object? On Jun 8, 10:57 am, Zhenning Guan <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> <%= text_field_tag ''login'' ,nil, {:class => ''line''} %> > the old way work. > > <%= f.text_field :login, :class => ''line'' %> > but why this doesn''t. > -- > Posted viahttp://www.ruby-forum.com/.