Retrospring/app/views/layouts/_messages.html.haml

10 lines
318 B
Plaintext
Raw Normal View History

2014-11-08 11:41:00 -08:00
%noscript
.alert.alert-danger
Please activate JavaScript.
2014-08-01 06:27:08 -07:00
- flash.each do |key, value|
.alert.alert-dismissible{class: "alert-#{bootstrap_color key}", role: "alert"}
%button.close{type: "button", "data-dismiss" => "alert"}
%span{"aria-hidden" => "true"} ×
%span.sr-only Close
= value