site/views/error.moon

14 lines
263 B
Plaintext
Raw Permalink Normal View History

2015-02-01 05:37:51 +00:00
import Widget from require "lapis.html"
class Error extends Widget
content: =>
center ->
h1 "Oops!"
img src: "/static/img/error.png"
2015-02-01 05:50:21 +00:00
if @err
p @err
else
2015-02-10 22:34:17 +00:00
p "If this was a real error there would be debug text here."