{% if form_show_errors and field.errors %} <div class="control-errors"> {% for error in field.errors %} <p id="error_{{ forloop.counter }}_{{ field.auto_id }}" class="help-block"><strong>{{ error }}</strong></p> {% endfor %} </div> {% endif %}