email_tester.html.twig 694 B

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