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

19 lines
539 B
Plaintext

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