{include file="includes/header.html"} {form name="thelia.customer.creation"} {* 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} {* customer_creation_error_message is defined in Customer action processor class, and passed the parser through the ParserContext service. *} {if isset($customer_creation_error_message)}
{$customer_creation_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"}