mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 11:21:06 -04:00
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
7 lines
259 B
Plaintext
7 lines
259 B
Plaintext
- if flash.any?
|
|
.flash-messages
|
|
- flash.each do |type, content|
|
|
%div{ class: build_alert_classes(type), role: "alert" }
|
|
%button.btn-close{ type: "button", "aria-label" => "Close", "data-bs-dismiss" => "alert" }
|
|
= sanitize(content)
|