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

11 lines
334 B
Text
Raw Normal View History

2014-11-08 20:41:00 +01:00
%noscript
.alert.alert-danger
2015-06-07 19:03:57 +02:00
= t 'messages.noscript'
2014-11-08 20:41:00 +01:00
2014-08-01 15:27:08 +02: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"} ×
2015-06-07 19:03:57 +02:00
%span.sr-only= t 'views.actions.close'
2015-06-07 00:24:27 +02:00
= value