field_errors_block.html 256 B

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