adopt-a-hydrant/app/views/layouts/sidebar.html.haml

20 lines
462 B
Plaintext
Raw Normal View History

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