$if closable
×
$maybe h <- renderAlertHeader alert
$if block
$maybe i <- alertIcon alert
^{htmlIcon i} #
#{h}
$else
$maybe i <- alertIcon alert
^{htmlIcon i} #
#{h}
\
$nothing
$maybe i <- alertIcon alert
^{htmlIcon i} #
$if multiline
$forall l <- messagelines
#{l}
$else
#{message}
$if not (null buttons)
$forall (button, bnum) <- buttons
#{buttonLabel button}