Commit 80c611e8 authored by Patrick Kimber's avatar Patrick Kimber

display only visible fields on a form #906

parent eccf12a8
......@@ -7,7 +7,7 @@
{% if legend %}
<legend>{{ legend }}</legend>
{% endif %}
{% for field in form %}
{% for field in form.visible_fields %}
<div class="pure-control-group">
{% if field.label %}
<label for='{{ field.id_for_label }}'>{{ field.label }}{% if field.help_text %} - {{ field.help_text }}{% endif %}:</label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment