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

20 lines
462 B
Plaintext

- if flash[:notice]
.alert-message.success{:"data-alert" => true}
%a{:class => "close", :href => "#"}
×
%p
= flash[:notice]
- if flash[:warning]
.alert-message.warning{:"data-alert" => true}
%a{:class => "close", :href => "#"}
×
%p
= flash[:warning]
- if flash[:error]
.alert-message.error{:"data-alert" => true}
%a{:class => "close", :href => "#"}
×
%p
= flash[:error]
= yield