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

Commit

Permalink
Fixing small errors in views
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonfs committed Jul 31, 2016
1 parent 9bc21ce commit 8d2e1cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/views/sessions/new.html.haml
Expand Up @@ -11,8 +11,8 @@

%h3
= bootstrap_form_tag :url => sessions_path, :layout => :horizontal do |f|
= f.email_field :email.l, value: params[:email]
= f.password_field :password.l
= f.email_field :email, :label => :email.l, value: params[:email]
= f.password_field :password, :label => :password.l

= f.form_group :remember_group do
= f.check_box :check_box do
Expand Down
6 changes: 3 additions & 3 deletions app/views/users/new.html.haml
Expand Up @@ -18,10 +18,10 @@
= bootstrap_form_for @user, :layout => :horizontal do |f|
= f.text_field :login, :label => :username.l, :help => :required_your_username_must_not_contain_numerals_spaces_or_special_characters.l
= 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, {:label => birthday.l, :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.date_select :birthday, {:label => :birthday.l, :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.l
= f.password_field :confirm_password.l, :help => :re_type_your_password_to_confirm.l
= f.password_field :password, :label => :password.l
= f.password_field :password_confirmation, :label => :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 8d2e1cc

Please sign in to comment.