2011-12-25 07:23:19 +00:00
|
|
|
- if flash[:notice]
|
2011-12-25 16:53:03 +00:00
|
|
|
.alert-message.success{:"data-alert" => true}
|
|
|
|
%a{:class => "close", :href => "#"}
|
|
|
|
×
|
2011-12-25 07:23:19 +00:00
|
|
|
%p
|
|
|
|
= flash[:notice]
|
|
|
|
- if flash[:warning]
|
2011-12-25 16:53:03 +00:00
|
|
|
.alert-message.warning{:"data-alert" => true}
|
|
|
|
%a{:class => "close", :href => "#"}
|
|
|
|
×
|
2011-12-25 07:23:19 +00:00
|
|
|
%p
|
|
|
|
= flash[:warning]
|
|
|
|
- if flash[:error]
|
2011-12-25 16:53:03 +00:00
|
|
|
.alert-message.error{:"data-alert" => true}
|
|
|
|
%a{:class => "close", :href => "#"}
|
|
|
|
×
|
2011-12-25 07:23:19 +00:00
|
|
|
%p
|
|
|
|
= flash[:error]
|
|
|
|
= yield
|