diff options
Diffstat (limited to 'demo/templates/frag_error.html.j2')
| -rw-r--r-- | demo/templates/frag_error.html.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demo/templates/frag_error.html.j2 b/demo/templates/frag_error.html.j2 new file mode 100644 index 0000000..c5034cd --- /dev/null +++ b/demo/templates/frag_error.html.j2 @@ -0,0 +1,16 @@ +{# +Params + error Error message to display + container (optional) id for a div to wrap the error message in +#} + +{% if container %} +<div id="{{ container }}"> +{% endif %} + +<h2>Error</h2> +{{ error }} + +{% if container %} +</div> +{% endif %} |
