Use model attributes and attribute help for the registration fields
The disply name keeps its specific help, since it is different on the account settings page
This commit is contained in:
parent
2b8d2bcb9f
commit
f737d2d34a
2 changed files with 6 additions and 4 deletions
|
@ -18,10 +18,10 @@
|
|||
<%= 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue