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

23 lines
581 B
Plaintext

#loader{:style => "display: none;"}
= image_tag "ajax-loader.gif"
#info_window
- 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