aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/frag_error.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-02-17 18:19:21 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-02-17 18:19:21 +0200
commitb6bba140654c18687e05874e822cccbef6fea4fa (patch)
tree5af50be15c9d321d5e9d9cffb2cca0b589e76aa9 /browser/templates/frag_error.html.j2
parent001b52fc1b6d2b30b371611f5a8b961e5c6945d3 (diff)
Improve templating
Diffstat (limited to 'browser/templates/frag_error.html.j2')
-rw-r--r--browser/templates/frag_error.html.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/browser/templates/frag_error.html.j2 b/browser/templates/frag_error.html.j2
index 092642f..c5034cd 100644
--- a/browser/templates/frag_error.html.j2
+++ b/browser/templates/frag_error.html.j2
@@ -1,3 +1,9 @@
+{#
+Params
+ error Error message to display
+ container (optional) id for a div to wrap the error message in
+#}
+
{% if container %}
<div id="{{ container }}">
{% endif %}