fradrive/templates/widgets/alerts/alerts.hamlet
Gregor Kleen 707beee3e3 Minor HTML tweaks
Fixes #324
2019-05-01 12:23:11 +02:00

11 lines
301 B
Plaintext

$newline never
<div #alerts-1 .alerts uw-alerts>
<div .alerts__toggler>
$forall (status, msg) <- mmsgs
$with status2 <- bool status "info" (status == "")
<div .alert.alert-#{status2}>
<div .alert__closer>
<div .alert__icon>
<div .alert__content>
#{msg}