retrospring/app/views/layouts/_messages.html.haml
2015-06-07 19:03:57 +02:00

10 lines
334 B
Text

%noscript
.alert.alert-danger
= t 'messages.noscript'
- 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= t 'views.actions.close'
= value