-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreset_password.html.twig
29 lines (26 loc) · 1.07 KB
/
reset_password.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends 'base.html.twig' %}
{% block javascripts %}
{{ parent() }}
{% endblock %}
{% block title %}
{{'Reset your password'|trans}}
{% endblock %}
{% block body %}
<div class="w-full max-w-[400px] px-[25px] pt-[30px] pb-[54px] lg:px-0 lg:pt-[50px] lg:pb-[120px] mx-auto">
<h1 class="mb-4 text-black h2">{{'Reset your password'|trans}}</h1>
{% set form = getForm("resetpassword_form_front_reset_password_form") %}
{{ form_start(form, {attr : {
class: 'flex flex-col gap-4',
'action': path('reset_password_action'),
'method': 'POST'
}})}}
{{ form_errors(form) }}
{{form_row(form.token, { value: app.request.get('token') }) }}
{{form_row(form.email, { value: app.request.get('email') }) }}
{{form_row(form.error_url, { value: path('reset_password_view') }) }}
{{form_row(form.success_url, { value: path('password_reset_confirm') }) }}
{{form_rest(form)}}
{% include "@components/Molecules/Button/Button.html.twig" with {type:"submit", text: "Confirm"|trans, variant: "large", classes: "self-start" } %}
{{form_end(form)}}
</div>
{% endblock %}