From f1438bd80c802cab09a64020e6b9317c8ecffd16 Mon Sep 17 00:00:00 2001 From: Robson Fernandes Date: Mon, 25 Jul 2016 00:43:54 -0300 Subject: [PATCH] Using locale keys :password and confirm_password in the new.user view --- app/views/users/new.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/new.html.haml b/app/views/users/new.html.haml index 9262ebd4..3552c40c 100755 --- a/app/views/users/new.html.haml +++ b/app/views/users/new.html.haml @@ -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]