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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
290 B
Text
Raw Normal View History

2014-11-08 20:41:00 +01:00
%noscript
.alert.alert-danger
= t(".noscript")
2014-11-08 20:41:00 +01:00
2014-08-01 15:27:08 +02:00
- flash.each do |key, value|
2020-05-10 22:27:39 +02:00
.alert.alert-dismissible{ class: "alert-#{bootstrap_color key}", role: :alert }
2023-01-04 13:26:27 +01:00
%button.btn-close{ type: :button, data: { bs_dismiss: :alert } }
%span.visually-hidden= t("voc.close")
2015-06-07 00:24:27 +02:00
= value