about summary refs log tree commit diff stats
path: root/frontend/templates/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/templates/blocks')
-rw-r--r--frontend/templates/blocks/error.gotmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/templates/blocks/error.gotmpl b/frontend/templates/blocks/error.gotmpl
new file mode 100644
index 0000000..1352b2e
--- /dev/null
+++ b/frontend/templates/blocks/error.gotmpl
@@ -0,0 +1,6 @@
+{{- define "main" }}
+  <p class="notice error">
+    {{ .Code }}
+    {{ .Message }}
+  </p>
+{{- end }}