2017-04-16 06:01:57 +00:00
|
|
|
<h3>
|
|
|
|
{{ field.label }}{% if field.field.required %} *{% endif %}
|
|
|
|
</h3>
|
|
|
|
{% if field.help_text %}
|
|
|
|
<span class="help_text">{{ field.help_text|safe }}</span>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-04-23 07:21:19 +00:00
|
|
|
{% if field.errors %}
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
{{ field.errors }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
{% for item in field %}
|
|
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
|
|
{{ item }}
|
|
|
|
</div>
|
|
|
|
{% endfor%}
|