Commit a4dae62c authored by Patrick Kimber's avatar Patrick Kimber

Only display the legend if there is one.

parent d0377190
......@@ -2,7 +2,9 @@
{% csrf_token %}
{{ form.non_field_errors }}
<fieldset>
<legend>{{ legend }}</legend>
{% if legend %}
<legend>{{ legend }}</legend>
{% endif %}
{% for field in form %}
<div class="pure-control-group">
<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