2016-06-27 08:13:38 +00:00
|
|
|
{% load lca2017_tags %}
|
|
|
|
|
2016-07-09 13:14:31 +00:00
|
|
|
{% if form.non_field_errors %}
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
<br/>
|
|
|
|
{% endif %}
|
|
|
|
|
2016-06-27 08:13:38 +00:00
|
|
|
{% for field in form %}
|
|
|
|
{% if not field.is_hidden %}
|
|
|
|
<div class="fieldWrapper">
|
2016-06-29 13:17:15 +00:00
|
|
|
<div>
|
|
|
|
{% classname field.field.widget as widget %}
|
|
|
|
{% if widget != "CheckboxInput" %}
|
|
|
|
<h4><label for="{{ field.id_for_label }}">{{ field.label }}</label></h4>
|
|
|
|
{{ field.errors }}
|
|
|
|
{{ field }}
|
|
|
|
{% else %}
|
|
|
|
<label for="{{ field.id_for_label }}"><strong>{{ field.label }}</strong></label>
|
|
|
|
{{ field }}
|
|
|
|
{{ field.errors }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2016-06-27 08:13:38 +00:00
|
|
|
|
|
|
|
{% if field.help_text %}
|
|
|
|
<span class="help_text">{{ field.help_text|safe }}</span>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<p></p>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|