{include file="includes/header.html"} {form name="thelia.customer.creation"} {* We use {navigate to="index"} as form action to avoid mixing post and get data *}
{* The two fields below are not par of the form, they are here to defines the action to process, and the view to render once the form is submited *} {* 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} {form_field form=$form field='auto_login'} {* the customer will be loogged-in automatically *} {/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="title"} {form_error form=$form field="title"} {$message} {/form_error}
{/form_field} {form_field form=$form field="firstname"} {form_error form=$form field="firstname"} {$message} {/form_error}
{/form_field} {form_field form=$form field="lastname"} {form_error form=$form field="lastname"} {$message} {/form_error}
{/form_field} {form_field form=$form field="address1"} {form_error form=$form field="address1"} {$message} {/form_error}
{/form_field} {form_field form=$form field="address2"} {form_error form=$form field="address2"} {$message} {/form_error}
{/form_field} {form_field form=$form field="address3"} {form_error form=$form field="address3"} {$message} {/form_error}
{/form_field} {form_field form=$form field="zipcode"} {form_error form=$form field="zipcode"} {$message} {/form_error}
{/form_field} {form_field form=$form field="city"} {form_error form=$form field="city"} {$message} {/form_error}
{/form_field} {form_field form=$form field="country"} {form_error form=$form field="country"} {$message} {/form_error}
{/form_field} {form_field form=$form field="phone"} {form_error form=$form field="phone"} {$message} {/form_error}
{/form_field} {form_field form=$form field="cellphone"} {form_error form=$form field="cellphone"} {$message} {/form_error}
{/form_field} {form_field form=$form field="email"} {form_error form=$form field="email"} {$message} {/form_error}
{/form_field} {form_field form=$form field="email_confirm"} {form_error form=$form field="email_confirm"} {$message} {/form_error}
{/form_field} {form_field form=$form field="password"} {form_error form=$form field="password"} {$message} {/form_error}
{/form_field} {form_field form=$form field="password_confirm"} {form_error form=$form field="password_confirm"} {$message} {/form_error}
{/form_field}
{/form} {include file="includes/footer.html"}