{extends file="layout.tpl"} {* Body Class *} {block name="body-class"}page-password{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="Password"}, 'url'=>{url path="/password"}] ]} {/block} {block name="main-content"} {* This page should not replace the current previous URL *} {set_previous_url ignore_current="1"} {include file="components/smarty/BreadCrumb/BreadCrumb.html"}
{include file="components/smarty/Title/Title.html" class="text-center mb-7" title={intl l="Forgot password"}}
{intl l="Vous avez oublié votre mot de passe ? Indiquez l'adresse e-mail associée à votre compte pour recevoir un lien de réinitialisation."}
{hook name="password.top"} {if $password_sent|default:false}
{include file="components/smarty/Alert/Alert.html" type="success" title="Succès" message={intl l="A new password has just been sent to your e-mail address. Please check your inbox."}}
{else} {form name="thelia.front.customer.lostpassword"}
{form_hidden_fields} {hook name="password.form-top"} {form_field field="success_url"} {/form_field} {form_field field="email"}
{include file="components/smarty/Input/Input.html" type="email" autofocus=true name=$name id="{$label_attr.for|default:null}" value={$value} label=$label placeholder="" required=$required displayError=false } {if $value != ""}
{intl l="You will receive a link to reset your password."}
{/if}
{/form_field} {hook name="password.form-bottom"}
{* {intl l="Cancel"} *}
{/form} {/if} {hook name="password.bottom"}
{/block} {block name="css" append} {hook name="password.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="password.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="password.javascript-initialization"} {/block}