From 0f951dcf029d4af284467543a3afdf5bf6581a20 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Apr 2024 11:16:38 +0100 Subject: switched to Django --- templates/w3/layout/field_errors_block.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 templates/w3/layout/field_errors_block.html (limited to 'templates/w3/layout/field_errors_block.html') diff --git a/templates/w3/layout/field_errors_block.html b/templates/w3/layout/field_errors_block.html new file mode 100644 index 0000000..e788b79 --- /dev/null +++ b/templates/w3/layout/field_errors_block.html @@ -0,0 +1,5 @@ +{% if form_show_errors and field.errors %} + {% for error in field.errors %} +

{{ error }}

+ {% endfor %} +{% endif %} -- cgit v1.2.3