From bed62ec2457ea10617551f1492cbb603fdf50774 Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Thu, 18 May 2017 19:16:56 +0200 Subject: [PATCH] login can also take a username, switch back to text_field_tag - merged with i18n --- app/views/login/forgot_password.html.erb | 2 +- app/views/login/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/login/forgot_password.html.erb b/app/views/login/forgot_password.html.erb index 172a703..517e8b7 100644 --- a/app/views/login/forgot_password.html.erb +++ b/app/views/login/forgot_password.html.erb @@ -9,7 +9,7 @@ <%= form_tag reset_password_path do %> <%= label_tag :email, t('.email') %> - <%= email_field_tag :email, "", :size => 30 %> + <%= text_field_tag :email, "", :size => 30 %>

diff --git a/app/views/login/index.html.erb b/app/views/login/index.html.erb index 96d68ca..4549f64 100644 --- a/app/views/login/index.html.erb +++ b/app/views/login/index.html.erb @@ -6,7 +6,7 @@ <%= form_tag login_path do %>

<%= label_tag :email, t('.email') %> - <%= email_field_tag :email, "", :size => 30, :autofocus => "autofocus" %> + <%= text_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
<%= label_tag :password, t('.password') %>