{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"}

{intl l="Password Forgotten"}

{hook name="password.top"} {if isset($password_sent) && $password_sent}

{intl l="A new password has been sent to your e-mail address. Please check your mailbox."}

{else}
{form name="thelia.front.customer.lostpassword"}
{form_hidden_fields}

{intl l="Please enter your email address below."} {intl l="You will receive a link to reset your password."}

{if $form_error}
{$form_error_message}
{/if} {hook name="password.form-top"} {form_field field="success_url"} {/form_field} {form_field field="email"}
{if $error} {$message} {elseif !$error && $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="stylesheet"} {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}