> <%= form_for @user_session, :url => user_session_path do |f| %>
>   Email <br/>
>   <%= text_field_tag :login %><br/>
>   Password <br/>
>   <%= f.password_field :password %><br/>
>   Remember Me
>   <%= f.check_box :remember_me %> <br/>
>   <%= f.submit "Login" %>
> <% end %>


replace <%= text_field_tag :login %><br/> with
<%= f.text_field :login %>

what is the output in the log?

<%= form_for @user_session, :url => user_session_path do |f| %>
<p><%= f.label( :login , "Email ") %><br />
<%= f.text_field :login %></p>
<p><%= f.label :password %><br />
<%= f.password_field :password %></p>
<p><%= f.label :remember_me%><br />
<%= f.text_field :remember_me%></p>
<p><%= f.submit "Login" %></p>
<% end %>

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to