@ -80,27 +80,34 @@
<div name= "email_from_container" t-attf-class= "form-group #{error and 'email_from' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "email" > Email</label>
<div class= "col-md-7 col-sm-8 bottom-line" style= "padding-bottom:20px" >
<input type= "email" class= "form-control mandatory-field" name= "email" required= "True" t-attf-value= "#{email or ''}" placeholder= "didier.bourdon@bees-coop.be" />
<input type= "email" class= "form-control mandatory-field" name= "email"
required="True" t-att-readonly="logged"
t-attf-value="#{email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
</div>
</div>
<div t-attf-class= "form-group #{error and 'firstname' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "name" > First Name</label>
<div class= "col-md-7 col-sm-8" style= "padding-top:5px" >
<input type= "text" class= "form-control mandatory-field" name= "firstname" required= "True" t-attf-value= "#{firstname or ''}" placeholder= "Didier" />
<input type= "text" class= "form-control mandatory-field" name= "firstname"
required="True" t-att-readonly="logged"
t-attf-value="#{firstname or ''}" placeholder="Didier"/>
</div>
</div>
<div t-attf-class= "form-group #{error and 'lastname' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "name" > Last Name</label>
<div class= "col-md-7 col-sm-8" >
<input type= "text" class= "form-control mandatory-field" name= "lastname" required= "True" t-attf-value= "#{lastname or ''}" placeholder= "Bourdon" />
<input type= "text" class= "form-control mandatory-field" name= "lastname"
required="True" t-att-readonly="logged"
t-attf-value="#{lastname or ''}" placeholder="Bourdon"/>
</div>
</div>
<div t-attf-class= "form-group #{error and 'gender' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "company_type" > Gender</label>
<select name= "gender" class= "col-md-7 col-sm-8 form-control" required= "True" style= "width:54%;margin-left:15px" >
<select name= "gender" class= "col-md-7 col-sm-8 form-control" required= "True"
t-att-readonly="logged" style="width:54%;margin-left:15px">
<option value= "" > </option>
<t t-foreach= "genders or []" t-as= "type" >
<option t-att-value= "type[0]" t-att-selected= "type[0] == gender" > <t t-esc= "type[1]" /> </option>
@ -111,20 +118,25 @@
<div t-attf-class= "form-group #{error and 'birthdate' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "birthdate" > Birthdate</label>
<div class= "col-md-7 col-sm-8" >
<input type= "text" data-inputmask= "'alias': 'date'" class= "form-control mandatory-field" name= "birthdate" required= "True" t-attf-value= "#{birthdate or ''}" placeholder= "05/03/1978" />
<input type= "text" data-inputmask= "'alias': 'date'" class= "form-control mandatory-field"
name="birthdate" required="True" t-att-readonly="logged"
t-attf-value="#{birthdate or ''}" placeholder="05/03/1978"/>
</div>
</div>
<div t-attf-class= "form-group #{error and 'iban' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "iban" > Bank Account Number</label>
<div class= "col-md-7 col-sm-8" >
<input type= "text" class= "form-control mandatory-field" name= "iban" required= "True" t-attf-value= "#{iban or ''}" placeholder= "BE48523080767127" />
<input type= "text" class= "form-control mandatory-field" name= "iban"
required="True" t-att-readonly="logged"
t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/>
</div>
</div>
<div t-attf-class= "form-group #{error and 'lang' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" style= "width:25%" for= "lang" > Language</label>
<select name= "lang" class= "col-md-7 col-sm-8 form-control " style= "width:30%;margin-left:15px" >
<select name= "lang" class= "col-md-7 col-sm-8 form-control" t-att-readonly= "logged"
style="width:30%;margin-left:15px">
<option value= "2" > Language...</option>
<t t-foreach= "langs or []" t-as= "langue" >
<option t-att-value= "langue.code" t-att-selected= "langue.code == lang" > <t t-esc= "langue.name" /> </option>
@ -137,7 +149,9 @@
<div t-attf-class= "form-group #{error and 'address' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "address" > Address</label>
<div class= "col-md-7 col-sm-8" >
<input type= "text" class= "form-control mandatory-field" name= "address" required= "True" t-attf-value= "#{address or ''}" placeholder= "rue Van Hove, 19" />
<input type= "text" class= "form-control mandatory-field" name= "address"
required="True" t-att-readonly="logged"
t-attf-value="#{address or ''}" placeholder="rue Van Hove, 19"/>
</div>
</div>
@ -147,11 +161,15 @@
<table >
<tr >
<td width= "20%" >
<input type= "text" class= "form-control mandatory-field" name= "zip_code" required= "True" t-attf-value= "#{zip_code or ''}" placeholder= "1030" />
<input type= "text" class= "form-control mandatory-field" name= "zip_code"
required="True" t-att-readonly="logged"
t-attf-value="#{zip_code or ''}" placeholder="1030"/>
</td>
<td width= "3%" > </td>
<td >
<input type= "text" class= "form-control mandatory-field" name= "city" required= "True" t-attf-value= "#{city or ''}" placeholder= "Bruxelles" />
<input type= "text" class= "form-control mandatory-field" name= "city"
required="True" t-att-readonly="logged"
t-attf-value="#{city or ''}" placeholder="Bruxelles"/>
</td>
</tr>
</table>
@ -160,7 +178,8 @@
<div t-attf-class= "form-group #{error and 'country_id' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" style= "width:25%" for= "country_id" > Country</label>
<select name= "country_id" class= "col-md-7 col-sm-8 form-control " style= "width:54%;margin-left:15px" >
<select name= "country_id" class= "col-md-7 col-sm-8 form-control " t-att-readonly= "logged"
style="width:54%;margin-left:15px">
<option value= "" > Country...</option>
<t t-foreach= "countries or []" t-as= "country" >
<option t-att-value= "country.id" t-att-selected= "country.id == int(country_id)" > <t t-esc= "country.name" /> </option>
@ -171,7 +190,9 @@
<div t-attf-class= "form-group #{error and 'phone' in error and 'has-error' or ''}" >
<label class= "col-md-3 col-sm-4 control-label" for= "phone" > Phone</label>
<div class= "col-md-7 col-sm-8 bottom-line" style= "padding-bottom:20px" >
<input type= "text" class= "form-control" name= "phone" required= "True" t-attf-value= "#{phone or ''}" placeholder= "e.g. (+32).81.81.37.00" />
<input type= "text" class= "form-control" name= "phone"
required="True" t-att-readonly="logged"
t-attf-value="#{phone or ''}" placeholder="e.g. (+32).81.81.37.00"/>
</div>
</div>