{include file="includes/header.html"}

{intl l='Please login'}

{form name="thelia.customer.login" } {* We use $INDEX_PAGE as form action to avoid mixing post and get data *}
{* The two fields below are not par of the Login form, they are here to defines the action to process, and the view to render once the form is submited *} {* the action triggered by this form *} {* the view to return to if the form cannot be validated *} {* This field is common to all BaseForm instances (thus, this one), and defines the URL the customer is redirected to once the form has been successfully processed *} {form_field form=$form field='success_url'} {* the url the user is redirected to on login success *} {/form_field} {* The form error status and the form error messages are defined in Customer action, and passed back to the form plugin through the ParserContext. *} {if #form_error}
#form_error_message
{/if} {form_hidden_fields form=$form} {form_field form=$form field="email"} {if #error}{#message}{/if}
{/form_field} {form_field form=$form field='password'}
{/form_field} {form_field form=$form field='remember_me'} {/form_field}
{/form} {include file='includes/footer.html'}