Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Using locale keys :password and confirm_password in the new.user view
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonfs committed Jul 25, 2016
1 parent 40ce5a6 commit f1438bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/users/new.html.haml
Expand Up @@ -20,8 +20,8 @@
= f.text_field :email, :label => :e_mail_address.l, :help => :required_we_will_send_a_confirmation_e_mail_to_the_address_you_enter.l
= f.date_select :birthday, {:start_year => (Time.now.year - configatron.max_age), :end_year => (Time.now.year - configatron.min_age)}, :help => :required_you_must_be_at_least_years_old_to_sign_up.l_with_args(:min_age => configatron.min_age)

= f.password_field :password
= f.password_field :password_confirmation, :help => :re_type_your_password_to_confirm.l
= f.password_field :password.l
= f.password_field :confirm_password.l, :help => :re_type_your_password_to_confirm.l
= hidden_field_tag :inviter_id, params[:inviter_id]
= hidden_field_tag :inviter_code, params[:inviter_code]

Expand Down

0 comments on commit f1438bd

Please sign in to comment.