diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-09-29 00:23:30 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-09-29 00:23:30 +0200 |
commit | c3ee743c756d7da7a1fab40584575fed642858a8 (patch) | |
tree | 3f7221231ba9501710e1e830ddf92c882117084e /templates/error.html | |
parent | 220941cad39f1d0e5d75c219e62ec11d9ec0799b (diff) | |
download | web-c3ee743c756d7da7a1fab40584575fed642858a8.tar.gz web-c3ee743c756d7da7a1fab40584575fed642858a8.tar.bz2 web-c3ee743c756d7da7a1fab40584575fed642858a8.zip |
use errorhandler for HTTP status error codes
with this we can use our base layout to display pretty error messages
Diffstat (limited to 'templates/error.html')
-rw-r--r-- | templates/error.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/error.html b/templates/error.html new file mode 100644 index 0000000..b025572 --- /dev/null +++ b/templates/error.html @@ -0,0 +1,8 @@ +{%- extends 'base.html' %} +{%- from '_macros.html' import render_field %} +{%- block content %} + +<h1>{{error.message}}</h1> +<p><b>Fehler</b>: {{error.description}}</p> + +{%- endblock %} |