[refs #308] hide password & password confirmation

This commit is contained in:
Alexander Machehin 2012-03-19 19:47:57 +06:00
parent 95385aefe0
commit c3bb559bfb
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@
.both .both
.left=t('activerecord.attributes.user.password') .left=t('activerecord.attributes.user.password')
.right .right
= f.text_field :password, :id => 'password', :class => "registartion-input #{password_error ? 'registartion-input-error' : ''}" = f.password_field :password, :id => 'password', :class => "registartion-input #{password_error ? 'registartion-input-error' : ''}"
.both .both
.left=t('activerecord.attributes.user.password_confirm') .left=t('activerecord.attributes.user.password_confirm')
.right .right
= f.text_field :password_confirmation, :id => 'password2', :class => "registartion-input #{password_error ? 'registartion-input-error' : ''}" = f.password_field :password_confirmation, :id => 'password2', :class => "registartion-input #{password_error ? 'registartion-input-error' : ''}"
.both .both
.in .in
=f.submit t("layout.devise.shared_links.sign_up"), :class => 'button', :id => 'btnLogin' =f.submit t("layout.devise.shared_links.sign_up"), :class => 'button', :id => 'btnLogin'