Update views with email entry to use email_field - merged with i18n

This commit is contained in:
Carl Chenet 2017-05-18 19:14:01 +02:00
parent 7f1b18f7bf
commit f4b9fe9ff4
5 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@
<br />
<%= f.label :email, t('.buildinvemail') %>
<%= f.text_field :email, :size => 30 %>
<%= f.email_field :email, :size => 30 %>
<br />
<%= f.label :memo, t('.buildinvurl') %>

View file

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

View file

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

View file

@ -38,7 +38,7 @@
<div class="boxline">
<%= f.label :email, t('.emailaddress'), :class => "required" %>
<%= f.text_field :email, :size => 40 %>
<%= f.email_field :email, :size => 40 %>
<span class="hint">
<%= raw(t('.gravatarized')) %>
</span>

View file

@ -9,7 +9,7 @@
<div class="boxline">
<%= label_tag :email, t(:emailaddress), :class => "required" %>
<%= text_field_tag :email, "", :size => 30, :autocomplete => "off" %>
<%= email_field_tag :email, "", :size => 30, :autocomplete => "off" %>
</div>
<div class="boxline">