small fix in the registration page
This commit is contained in:
parent
c0d717e4a5
commit
09b1aba71b
|
@ -17,10 +17,11 @@
|
|||
.both
|
||||
.left=t('activerecord.attributes.user.email')
|
||||
.right
|
||||
- klass = "registartion-input #{email_error ? 'registartion-input-error' : ''}"
|
||||
- if APP_CONFIG['preregistration']
|
||||
= f.text_field :email, :id => 'email', :readonly => 'readonly', :class => "registartion-input #{email_error ? 'registartion-input-error' : ''}"
|
||||
= f.text_field :email, :id => 'email', :readonly => 'readonly', :class => klass
|
||||
- else
|
||||
= f.text_field :email, :id => 'email', :class => 'registartion-input'
|
||||
= f.text_field :email, :id => 'email', :class => 'registartion-input', :class => klass
|
||||
.both
|
||||
.left=t('activerecord.attributes.user.password')
|
||||
.right
|
||||
|
|
Loading…
Reference in New Issue