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 /> <br />
<%= f.label :email, t('.buildinvemail') %> <%= f.label :email, t('.buildinvemail') %>
<%= f.text_field :email, :size => 30 %> <%= f.email_field :email, :size => 30 %>
<br /> <br />
<%= f.label :memo, t('.buildinvurl') %> <%= f.label :memo, t('.buildinvurl') %>

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') %>
<%= text_field_tag :email, "", :size => 30 %> <%= email_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') %>
<%= text_field_tag :email, "", :size => 30, :autofocus => "autofocus" %> <%= email_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
<br /> <br />
<%= label_tag :password, t('.password') %> <%= label_tag :password, t('.password') %>

View file

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

View file

@ -9,7 +9,7 @@
<div class="boxline"> <div class="boxline">
<%= label_tag :email, t(:emailaddress), :class => "required" %> <%= 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>
<div class="boxline"> <div class="boxline">