email_tester.tpl 640 B

1234567891011121314151617181920212223
  1. <div class="row">
  2. {% if errors is empty %}
  3. <div class="col-md-12">
  4. {{ form }}
  5. </div>
  6. {% else %}
  7. <div class="col-md-6">
  8. {{ form }}
  9. </div>
  10. <div class="col-md-6">
  11. <h4 class="page-header">{{ 'Errors'|get_lang }}</h4>
  12. <ul>
  13. {% for error in errors %}
  14. <li>
  15. {{ 'Email: %s. %s ago'|format(error.mail, error.time) }}
  16. <pre>{{ error.reason|replace({'\n': '<br>'}) }}</pre>
  17. </li>
  18. {% endfor %}
  19. </ul>
  20. </div>
  21. {% endif %}
  22. </div>