{% import "macros/alerts.html" as alerts %} {% import "macros/buttons.html" as buttons %} {% import "macros/forms.html" as forms %} {% import "macros/verify_email.html" as verify_email %}
{% call alerts.info() %} {{ _("To complete the email change, please check your email for the verification code. Enter the code below to verify your new email address.") }} {% endcall %}
{{ verify_email.form(form, code_length) }}
{% if error %} {% call alerts.error() %} {{ error }} {% endcall %} {% endif %}
{{ _("Cancel") }} {% call buttons.submit('btn') %} {{ _("Verify my email") }} {% endcall %}