And fix rebuilt view to use username...again
This commit is contained in:
parent
e6bef83ddf
commit
a2915388d9
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue