hledger/hledger-web/templates/default-layout.hamlet
Simon Michael d801eb1ab7 web: fix error message being a bit too persistent
visiting ?add=1 afresh was still showing the previous visit's error
2015-02-23 23:55:28 +00:00

5 lines
100 B
Plaintext

$maybe m <- lastmsg
$if not $ isPrefixOf "Errors" (renderHtml m)
<div #message>#{m}
^{widget}