symposion_app/pinaxcon/templates/_form_snippet.html

23 lines
466 B
HTML
Raw Normal View History

{% if form.non_field_errors %}
{{ form.non_field_errors }}
<br/>
{% endif %}
<p>Fields marked with <strong>(*)</strong> are required.</p>
{% for field in form %}
{% if not field.is_hidden %}
<div class="fieldWrapper">
<div>
{% include "forms/widget.html" %}
</div>
{% if field.help_text %}
<span class="help_text">{{ field.help_text|safe }}</span>
{% endif %}
<p></p>
</div>
{% endif %}
{% endfor %}