{intl l="Login"}

{form name="thelia.front.customer.login"}
{if {$smarty.get.validation_done}}
{intl l="Your customer account was successfully activated, you can now login."}
{else} {if $form_error}
{$form_error_message}
{/if} {/if} {form_field field='success_url'} {* the url the user is redirected to on login success *} {/form_field} {form_field field='error_message'} {* the url the user is redirected to on login success *} {/form_field} {form_hidden_fields} {hook name="login.form-top"}
{form_field field="email"}
{if $error} {$message} {assign var="error_focus" value="true"} {elseif !$value} {assign var="error_focus" value="true"} {/if}
{/form_field}
{form_field field="account"} {intl l="Do you have an account?"} {foreach $choices as $choice}
{/foreach} {/form_field}
{form_field field="password"}
{if $error} {$message} {/if}
{intl l="Forgot your Password?"}
{/form_field} {form_field field='remember_me'}
{/form_field}
{hook name="login.form-bottom"}
{/form}