From 0a637ce4b427eb7376f3902ab0e51cf274a8b1da Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 30 Sep 2019 16:11:55 +0200 Subject: [PATCH] Allow empty contact forms. --- src/wolnelektury/templates/forms/includes/built_form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wolnelektury/templates/forms/includes/built_form.html b/src/wolnelektury/templates/forms/includes/built_form.html index 4a8807f17..34d0273f6 100644 --- a/src/wolnelektury/templates/forms/includes/built_form.html +++ b/src/wolnelektury/templates/forms/includes/built_form.html @@ -12,7 +12,9 @@ {% render_honeypot_field %} {{ form_for_form.as_table }} - + {% if form_for_form.fields %} + + {% endif %}
-- 2.20.1