diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 3d526fb..f9bc2c1 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 :username %>
- <%= f.text_field :username, :autofocus => true %>
+
<%= f.label :email %>
+ <%= f.email_field :email, :autofocus => true %>
<%= f.label :password %>
<%= f.password_field :password %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3c56e94..9711eda 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -54,9 +54,6 @@ <% else %>
  • <%= link_to "Sign in", new_user_session_path, :method => :get %>
  • -
  • <%= link_to "Register", new_user_registration_path, - :method => :get %>
  • - <% end %>