[refs #308] hide password & password confirmation
This commit is contained in:
parent
95385aefe0
commit
c3bb559bfb
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue