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

19 lines
454 B
Plaintext
Raw Normal View History

- 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]