Support green login page flash message for password change success

This commit is contained in:
Gonzalo Rodriguez 2011-08-23 00:51:00 -03:00
parent 049efae1a6
commit 43d6acd868
2 changed files with 7 additions and 2 deletions

View file

@ -20,7 +20,7 @@
= image_tag('logo_caps.png', :id => 'logo', :width => 98, :height => 14)
- flash.each do |name, msg|
= content_tag :p, msg, :class => "login_error"
%p{:class => "login_#{name}"}= msg
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|

View file

@ -97,10 +97,15 @@ form
:text
:shadow 0 1px #C66
.login_error
.login_error,
.login_alert
:color rgb(208,49,43)
:text-shadow 1px 1px 20px rgb(208,49,43)
.login_notice
:color rgb(10,150,10)
:text-shadow 1px 1px 20px rgb(126,240,77)
.fieldWithErrors
:display inline