summaryrefslogtreecommitdiffstats
path: root/templates/w3/errors_formset.html
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-04-23 11:22:21 +0100
committerGitHub <noreply@github.com>2024-04-23 11:22:21 +0100
commitceca6fa956b21c43263e53c328d619c4ede21914 (patch)
treea48384210cdc168e3bd3ccff6d6d516eeed9e748 /templates/w3/errors_formset.html
parent8b084e9fe7a5f3a04c32daf9a24f7f2cf67300f9 (diff)
parent0f951dcf029d4af284467543a3afdf5bf6581a20 (diff)
Merge pull request #22 from defencedigital/pyswitch
switched to Django
Diffstat (limited to '')
-rw-r--r--templates/w3/errors_formset.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/w3/errors_formset.html b/templates/w3/errors_formset.html
new file mode 100644
index 0000000..0382973
--- /dev/null
+++ b/templates/w3/errors_formset.html
@@ -0,0 +1,8 @@
+{% if formset.non_form_errors %}
+ <div class="alert alert-block alert-danger">
+ {% if formset_error_title %}<h4 class="alert-heading">{{ formset_error_title }}</h4>{% endif %}
+ <ul class="m-0">
+ {{ formset.non_form_errors|unordered_list }}
+ </ul>
+ </div>
+{% endif %}