aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/customers/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/customers/form.html')
-rwxr-xr-xservo/templates/customers/form.html2
1 files changed, 2 insertions, 0 deletions
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 @@
</div>
</div>
{% endfor %}
+ {% if fields %}
<div class="control-group property">
<select name="keys" class="control-label" data-value="{{ fields.0.title }}">
{% for f in fields %}
@@ -41,6 +42,7 @@
<input type="text" name="values"/>
</div>
</div>
+ {% 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 %}