From: Radek Czajka Date: Mon, 30 Sep 2019 14:11:55 +0000 (+0200) Subject: Allow empty contact forms. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/0a637ce4b427eb7376f3902ab0e51cf274a8b1da?ds=inline Allow empty contact forms. --- 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 %}