From 247297eb673dc8dd20713e0f9c8938a70e7e91be Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 26 Oct 2016 15:36:59 +0300 Subject: Only show custom fields when available --- servo/templates/customers/form.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servo/templates/customers/form.html b/servo/templates/customers/form.html index 69c6138..97d57e4 100755 --- a/servo/templates/customers/form.html +++ b/servo/templates/customers/form.html @@ -31,6 +31,7 @@ {% endfor %} + {% if fields %}
+ {% endif %} {% include "form_field_snippet.html" with field=form.photo %} {% include "form_field_snippet.html" with field=form.groups %} {% include "form_field_snippet.html" with field=form.notes %} -- cgit v1.2.3