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

10 lines
290 B
Plaintext
Raw Normal View History

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