18 lines
388 B
HTML
18 lines
388 B
HTML
<h3>
|
|
{{ field.label }}{% if field.field.required %} *{% endif %}
|
|
</h3>
|
|
{% if field.help_text %}
|
|
<span class="help_text">{{ field.help_text|safe }}</span>
|
|
{% endif %}
|
|
|
|
{% if field.errors %}
|
|
<div class="alert alert-danger" role="alert">
|
|
{{ field.errors }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% for item in field %}
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
{{ item }}
|
|
</div>
|
|
{% endfor%}
|