{extends file="layout.tpl"} {* Security *} {block name="no-return-functions" prepend} {check_auth role="CUSTOMER" login_tpl="login"} {/block} {* Body Class *} {block name="body-class"}page-account-password{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="Account"}, 'url'=>{url path="/account"}], ['title' => {intl l="Change Password"}, 'url'=>{url path="/account/password"}] ]} {/block} {block name="main-content"}

# {intl l="Change Password"}

{hook name="account-password.top"} {form name="thelia.front.customer.password.update"} {form_field field='success_url'} {/form_field} {form_hidden_fields} {if $form_error}
{$form_error_message}
{/if}
{intl l="Login Information"}
{form_field field="password_old"}
{$label}{if $required} *{/if}
{if $error} {$message} {assign var="error_focus" value="true"} {elseif !$value} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="password"}
{$label}{if $required} *{/if}
{if $error } {$message} {assign var="error_focus" value="true"} {/if}
{/form_field} {form_field field="password_confirm"}
{$label}{if $required} *{/if}
{if $error } {$message} {/if}
{/form_field}
{/form} {hook name="account-password.bottom"}
{/block} {block name="stylesheet"} {hook name="account-password.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="account-password.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="account-password.javascript-initialization"} {/block}