login can also take a username, switch back to text_field_tag - merged with i18n

This commit is contained in:
Carl Chenet 2017-05-18 19:16:56 +02:00
parent f4b9fe9ff4
commit bed62ec245
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<%= form_tag reset_password_path do %> <%= form_tag reset_password_path do %>
<%= label_tag :email, t('.email') %> <%= label_tag :email, t('.email') %>
<%= email_field_tag :email, "", :size => 30 %> <%= text_field_tag :email, "", :size => 30 %>
<br /> <br />
<p> <p>

View file

@ -6,7 +6,7 @@
<%= form_tag login_path do %> <%= form_tag login_path do %>
<p> <p>
<%= label_tag :email, t('.email') %> <%= label_tag :email, t('.email') %>
<%= email_field_tag :email, "", :size => 30, :autofocus => "autofocus" %> <%= text_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
<br /> <br />
<%= label_tag :password, t('.password') %> <%= label_tag :password, t('.password') %>