From a2915388d99270dc52820b90816149dc3cd9e3e4 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 13 Apr 2013 01:51:41 -0400 Subject: [PATCH] And fix rebuilt view to use username...again --- app/views/devise/sessions/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index f9bc2c1..3d526fb 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,8 +1,8 @@

Sign in

<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> -
<%= f.label :email %>
- <%= f.email_field :email, :autofocus => true %>
+
<%= f.label :username %>
+ <%= f.text_field :username, :autofocus => true %>
<%= f.label :password %>
<%= f.password_field :password %>