-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpassword-forgotten.html.twig
29 lines (26 loc) · 1.08 KB
/
password-forgotten.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() }}
{{ encore_entry_script_tags('register') }}
{% endblock %}
{% block title %}
{{'Forgot 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">
{% set form = getForm('thelia_customer_lost_password') %}
<h1 class="mb-4 text-black h2">{{'Forgot your password ?'|trans}}</h1>
{{ form_start(form, {attr : {
class: 'flex flex-col gap-4 mb-[30px]',
'action': path('password_forgotten'),
'method': 'POST'
}})}}
<legend class="paragraph-2">{{"Enter your e-mail address to receive a reset link."|trans}}</legend>
{{ form_errors(form) }}
{{form_row(form.error_url, { value: path('password_forgotten') }) }}
{{form_row(form.success_url, { value: path('password_reset_link') }) }}
{{form_rest(form)}}
{% include "@components/Molecules/Button/Button.html.twig" with {type:"submit", text: "Send link"|trans, variant: "large", classes: "self-start" } %}
{{form_end(form)}}
</div>
{% endblock %}