[refs #228] fix showing error

This commit is contained in:
Alexander Machehin 2012-02-29 12:51:10 +06:00
parent ee84ac84cf
commit f4954557b3
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
.logo
/ Page
%article
- is_error = flash.try(:first).try(:first) == :alert # Trash
- is_error = (flash.try(:first).try(:first) == :alert && flash.try(:first).try(:last) == t('devise.failure.invalid')) # Trash
- login = t('devise.sessions.login'); password = t('devise.sessions.password')
=hidden_field_tag :login_default, login
=hidden_field_tag :password_default, password