1
0
Fork 0

And fix rebuilt view to use username...again

This commit is contained in:
Andrew Tomaka 2013-04-13 01:51:41 -04:00
parent e6bef83ddf
commit a2915388d9

View file

@ -1,8 +1,8 @@
<h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.label :username %><br />
<%= f.text_field :username, :autofocus => true %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>