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

19 lines
601 B
Plaintext

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