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

19 lines
539 B
Plaintext
Raw Normal View History

- if flash[:notice]
2012-03-31 13:38:24 +00:00
.alert.alert-info.fade.in{:"data-alert" => true}
%a{:class => "close", :"data-dismiss" => "alert", :href => "#"}
×
%p
= flash[:notice]
- if flash[:warning]
2012-03-31 13:38:24 +00:00
.alert.fade.in{:"data-alert" => true}
%a{:class => "close", :"data-dismiss" => "alert", :href => "#"}
×
%p
= flash[:warning]
- if flash[:error]
2012-03-31 13:38:24 +00:00
.alert.alert-error.fade.in{:"data-alert" => true}
%a{:class => "close", :"data-dismiss" => "alert", :href => "#"}
×
%p
= flash[:error]