]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Use model attributes and attribute help for the registration fields
[rails.git] / app / views / users / new.html.erb
index f8d3a7e8ec5ea29fd2d5a99d4178c1fe5065505c..7f640c708622d2a64de87cb0993078c93776d1d0 100644 (file)
     <%= bootstrap_form_for current_user, :url => { :action => "create" } do |f| %>
       <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %>
 
-      <%= f.email_field :email, :label => t(".email address"), :tabindex => 1 %>
-      <%= f.email_field :email_confirmation, :label => t(".confirm email address"), :help => t(".not_displayed_publicly_html"), :tabindex => 2 %>
+      <%= f.email_field :email, :tabindex => 1 %>
+      <%= f.email_field :email_confirmation, :tabindex => 2 %>
 
-      <%= f.text_field :display_name, :label => t(".display name"), :help => t(".display name description"), :tabindex => 3 %>
+      <%= f.text_field :display_name, :help => t(".display name description"), :tabindex => 3 %>
 
       <fieldset class="form-group" id="auth_field">
         <label for="user_auth_provider"><%= t(".external auth") %></label>