1 <html metal:use-macro="context/main_template/macros/master">
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
5 <body metal:fill-slot="main_no_tabs" i18n:domain="realis"
7 <div tal:condition="python:options.get('came_from', '').endswith('/my_cart')"
8 tal:define="step_authentication python:True" tal:omit-tag="">
9 <div metal:use-macro="here/sell_macros/macros/sell_steps"></div>
11 <h1 i18n:translate="">New customer account</h1>
13 <form tal:attributes="action string:portal_url/customer_join_form" method="post">
14 <table class="TwoColumnForm">
16 <td colspan="2" style="text-align:center">
17 <h3 i18n:translate="">Customer informations</h3>
21 <th i18n:translate="">First name</th>
23 <input type="text" name="given_name" size="30" value="" tal:attributes="value options/given_name" />
27 <th i18n:translate="">Last name</th>
29 <input type="text" name="name" size="30" value="" tal:attributes="value options/name" />
33 <th i18n:translate="">Email Address</th>
35 <input type="text" name="member_email" size="30"
36 tal:attributes="value options/member_email" />
40 <th i18n:translate="">Member ID</th>
42 <input type="text" name="member_id" size="30" value=""
43 tal:attributes="value options/member_id" />
46 <tal:case tal:condition="not: options/validate_email">
48 <th i18n:translate="">Password</th>
50 <input type="password" name="password" size="30" tal:attributes="value options/password" />
54 <th i18n:translate="">Password (confirm)</th>
56 <input type="password" name="confirm" size="30" tal:attributes="value options/confirm" />
60 <th i18n:translate="">Mail Password?</th>
62 <input type="checkbox" name="send_password" id="cb_send_password"
63 tal:attributes="checked options/send_password" />
64 <em><label for="cb_send_password" i18n:translate="">Check this box to
65 have the password mailed.</label></em>
70 <td colspan="2"><hr/></td>
73 <td colspan="2" style="text-align:center">
74 <h3 i18n:translate="">Billing informations</h3>
78 <th i18n:translate="">Address</th>
80 <textarea name="billing_address" tal:content="options/billing_address"
81 cols="30" rows="1" style="width:auto"></textarea>
85 <th i18n:translate="">City</th>
87 <input type="text" name="billing_city" size="35" tal:attributes="value options/billing_city"/>
91 <th i18n:translate="">Zip code</th>
93 <input type="text" name="billing_zipcode" size="5" tal:attributes="value options/billing_zipcode"/>
97 <th i18n:translate="">Country</th>
99 <select name="country"
100 tal:define="countries python:modules['Products.iso_3166_1'].fr.countries"
101 i18n:domain="iso_3166_1">
102 <option tal:repeat="c countries" tal:attributes="value python:c[0]; selected python:c[0]==options['country']" tal:content="python:c[0]" i18n:translate=""></option>
107 <th i18n:translate="">Phone</th>
109 <input type="text" name="phone" tal:attributes="value options/phone"/>
115 <input type="checkbox" name="accept_gcs" tal:attributes="checked python:options['accept_gcs']" />
116 <a tal:attributes="href string:$portal_url/cgv" target="_blank" i18n:translate="">I accept general conditions of sales</a>
122 <input type="hidden" name="noAjax" value="1"/>
123 <input type="hidden" name="came_from" tal:condition="options/came_from" tal:attributes="value options/came_from" />
124 <input type="submit" name="add" value="Register" i18n:attributes="value"/>
125 <input type="submit" name="cancle" value="Cancel" i18n:attributes="value" style="margin-left:15em"/>