templates/reset_password/request.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}{{ 'page.reset_password.title'|trans }}{% endblock %}
  3. {% block body %}
  4. <div class="container d-flex justify-content-center align-items-center" style="min-height:100vh;">
  5. <div class="col-12 col-sm-8 col-md-6 col-lg-4">
  6. <div class="card shadow-sm p-4">
  7. <h4 class="text-center mb-3">🔐 {{ 'page.reset_password.header'|trans }}</h4>
  8. <p class="text-muted text-center small mb-4">
  9. {{ 'page.reset_password.instructions'|trans }}
  10. <a href="{{ path('mstope_intranet_index') }}" > {{ 'page.change_password.cancel'|trans }}</a>
  11. </p>
  12. {# FLASH ERROR #}
  13. {% for flash_error in app.flashes('reset_password_error') %}
  14. <div class="alert alert-danger">
  15. {{ flash_error }}
  16. </div>
  17. {% endfor %}
  18. {{ form_start(requestForm) }}
  19. <div class="form-group">
  20. {{ form_label(requestForm.email, 'form.email'|trans) }}
  21. {{ form_widget(requestForm.email, {
  22. 'attr': {
  23. 'class': 'form-control',
  24. 'placeholder': 'form.email_placeholder'|trans
  25. }
  26. }) }}
  27. {{ form_errors(requestForm.email) }}
  28. </div>
  29. <button class="btn btn-primary btn-block mt-3">
  30. {{ 'form.reset_password_button'|trans }}
  31. </button>
  32. {{ form_end(requestForm) }}
  33. </div>
  34. </div>
  35. </div>
  36. {% endblock %}