You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

592 lines
32 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <template id="assets_frontend" inherit_id="website.assets_frontend" name="Coop">
  5. <xpath expr="." position="inside">
  6. <script type="text/javascript" src="/easy_my_coop/static/src/js/easy_my_coop.js"></script>
  7. <script type="text/javascript" src="/easy_my_coop/static/src/js/jquery.inputmask.bundle.js"></script>
  8. </xpath>
  9. </template>
  10. <template id="company_operational_offices" inherit_id="website.company_description" name="Company Description">
  11. <address itemscope="itemscope" position="inside">
  12. <div class="fa fa-building-o" t-field="res_company.company_registry"/><br/>
  13. <div class="fa fa-bank" t-field="res_company.partner_id.bank_ids[0].sanitized_acc_number"/>
  14. </address>
  15. </template>
  16. <template id="cooperator_thanks" name="Cooperator contact us" page="True">
  17. <t t-call="website.layout">
  18. <div id="wrap">
  19. <div class="oe_structure"/>
  20. <div class="container">
  21. <h1>Thanks!</h1>
  22. <div class="row">
  23. <div class="col-md-8">
  24. <div class="alert alert-success">
  25. Your subscription has been successfully registered.
  26. <button type="button" class="close" data-dismiss="alert">&amp;times;</button>
  27. </div>
  28. <p>
  29. We will get back to you shortly.
  30. </p>
  31. <ul class="list-unstyled">
  32. <li><i class="fa fa-phone"></i> : <span t-field="res_company.phone"/></li>
  33. <li><i class="fa fa-envelope"></i> : <span t-field="res_company.email"/></li>
  34. </ul>
  35. </div>
  36. <div class="col-md-4">
  37. <t t-call="website.company_description"/>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="oe_structure"/>
  42. </div>
  43. </t>
  44. </template>
  45. <template id="easy_my_coop.becomecooperator" name="Become Cooperator" page="True">
  46. <t t-call="website.layout">
  47. <div id="wrap">
  48. <div class="oe_structure"/>
  49. <div class="container oe_easymy_coop">
  50. <h2 class="energie">Become Cooperator</h2><br/>
  51. <div class="row">
  52. <div class="col-md-8">
  53. <form action="/subscription/subscribe_share" method="post" class="form-horizontal mt32" enctype="multipart/form-data">
  54. <p style="color:red;"><t t-esc="error_msg"/></p>
  55. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  56. <div t-attf-class="form-group">
  57. <a class='btn btn-primary' t-if="not logged" t-attf-href="/web/login?redirect=#{ request.httprequest.url }">You have already an account?</a>
  58. <br/>
  59. </div>
  60. <div t-attf-class="form-group" style="display: none;">
  61. <label>
  62. <input type="checkbox" t-att-checked="logged" name="logged"/>
  63. Logged
  64. </label>
  65. </div>
  66. <div t-attf-class="form-group">
  67. <div class="row">
  68. <label class="col-md-3 col-sm-4 control-label" for="already_cooperator">Already cooperator?</label>
  69. <div class="col-md-2 col-sm-2">
  70. <input type="checkbox"
  71. class="form-control"
  72. name="already_cooperator"
  73. t-att-value="already_cooperator"
  74. />
  75. </div>
  76. </div>
  77. </div>
  78. <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
  79. <label class="col-md-3 col-sm-4 control-label" for="email">Email</label>
  80. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  81. <input type="email" class="form-control mandatory-field" name="email" required="True" t-attf-value="#{email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
  82. </div>
  83. </div>
  84. <div t-attf-class="form-group #{error and 'firstname' in error and 'has-error' or ''}">
  85. <label class="col-md-3 col-sm-4 control-label" for="name">First Name</label>
  86. <div class="col-md-7 col-sm-8" style="padding-top:5px">
  87. <input type="text" class="form-control mandatory-field" name="firstname" required="True" t-attf-value="#{firstname or ''}" placeholder="Didier"/>
  88. </div>
  89. </div>
  90. <div t-attf-class="form-group #{error and 'lastname' in error and 'has-error' or ''}">
  91. <label class="col-md-3 col-sm-4 control-label" for="name">Last Name</label>
  92. <div class="col-md-7 col-sm-8">
  93. <input type="text" class="form-control mandatory-field" name="lastname" required="True" t-attf-value="#{lastname or ''}" placeholder="Bourdon"/>
  94. </div>
  95. </div>
  96. <div t-attf-class="form-group #{error and 'gender' in error and 'has-error' or ''}">
  97. <label class="col-md-3 col-sm-4 control-label" for="company_type">Gender</label>
  98. <select name="gender" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  99. <option value=""></option>
  100. <t t-foreach="genders or []" t-as="type">
  101. <option t-att-value="type[0]" t-att-selected="type[0] == gender"><t t-esc="type[1]"/></option>
  102. </t>
  103. </select>
  104. </div>
  105. <div t-attf-class="form-group #{error and 'birthdate' in error and 'has-error' or ''}">
  106. <label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label>
  107. <div class="col-md-7 col-sm-8">
  108. <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"/>
  109. </div>
  110. </div>
  111. <div t-attf-class="form-group #{error and 'no_registre' in error and 'has-error' or ''}">
  112. <label class="col-md-3 col-sm-4 control-label" for="no_registre">National Register Number</label>
  113. <div class="col-md-7 col-sm-8">
  114. <input type="text" class="form-control mandatory-field" name="no_registre" t-attf-value="#{no_registre or ''}" placeholder="78230226321"/>
  115. </div>
  116. </div>
  117. <div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
  118. <label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
  119. <div class="col-md-7 col-sm-8">
  120. <input type="text" class="form-control mandatory-field" name="iban" required="True" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/>
  121. </div>
  122. </div>
  123. <div t-attf-class="form-group #{error and 'lang' in error and 'has-error' or ''}" >
  124. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="lang">Language</label>
  125. <select name="lang" class="col-md-7 col-sm-8 form-control " style="width:30%;margin-left:15px">
  126. <option value="2">Language...</option>
  127. <t t-foreach="langs or []" t-as="langue">
  128. <option t-att-value="langue.code" t-att-selected="langue.code == lang"><t t-esc="langue.name"/></option>
  129. </t>
  130. </select>
  131. <br/>
  132. <div class="bottom-line" style="margin-left:25%;margin-top:35px;width:59%"></div>
  133. </div>
  134. <div t-attf-class="form-group #{error and 'address' in error and 'has-error' or ''}">
  135. <label class="col-md-3 col-sm-4 control-label" for="address">Address</label>
  136. <div class="col-md-7 col-sm-8">
  137. <input type="text" class="form-control mandatory-field" name="address" required="True" t-attf-value="#{address or ''}" placeholder="rue Van Hove, 19"/>
  138. </div>
  139. </div>
  140. <div t-attf-class="form-group #{error and 'zip_code' in error and 'has-error' or ''}">
  141. <label class="col-md-3 col-sm-4 control-label" for="zip_code">City</label>
  142. <div class="col-md-7 col-sm-8">
  143. <table>
  144. <tr>
  145. <td width="20%">
  146. <input type="text" class="form-control mandatory-field" name="zip_code" required="True" t-attf-value="#{zip_code or ''}" placeholder="1030"/>
  147. </td>
  148. <td width="3%"></td>
  149. <td>
  150. <input type="text" class="form-control mandatory-field" name="city" required="True" t-attf-value="#{city or ''}" placeholder="Bruxelles"/>
  151. </td>
  152. </tr>
  153. </table>
  154. </div>
  155. </div>
  156. <div t-attf-class="form-group #{error and 'country_id' in error and 'has-error' or ''}">
  157. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="country_id">Country</label>
  158. <select name="country_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  159. <option value="">Country...</option>
  160. <t t-foreach="countries or []" t-as="country">
  161. <option t-att-value="country.id" t-att-selected="country.id == int(country_id)"><t t-esc="country.name"/></option>
  162. </t>
  163. </select>
  164. </div>
  165. <div t-attf-class="form-group #{error and 'phone' in error and 'has-error' or ''}">
  166. <label class="col-md-3 col-sm-4 control-label" for="phone">Phone</label>
  167. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  168. <input type="text" class="form-control" name="phone" required="True" t-attf-value="#{phone or ''}" placeholder="e.g. (+32).81.81.37.00"/>
  169. </div>
  170. </div>
  171. <div t-attf-class="form-group #{error and 'share_product_id' in error and 'has-error' or ''}">
  172. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="share_product_id">Parts type</label>
  173. <select id="share_product_id" name="share_product_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  174. <t t-foreach="products or []" t-as="product">
  175. <option t-att-value="product.id" t-att-selected="product.id == int(share_product_id)"><t t-esc="product.short_name"/></option>
  176. </t>
  177. </select>
  178. </div>
  179. <div name="share_div" class="form-group">
  180. <table style="width:80%">
  181. <tr>
  182. <td width="30%">
  183. <label style="text-align:right; width:100%;padding-right:30px">Parts number</label>
  184. </td>
  185. <td width="15%">
  186. <div class="css_quantity input-group oe_website_spinner">
  187. <span class="input-group-addon" style="margin-left:0px">
  188. <a t-attf-href="#" class="mb8 js_add_cart_json">
  189. <i class="fa fa-minus"></i>
  190. </a>
  191. </span>
  192. <input type="text" class="js_quantity form-control" data-min="1" name="ordered_parts" t-attf-value="#{ordered_parts or 1}"/>
  193. <span class="input-group-addon">
  194. <a t-attf-href="#" class="mb8 float_left js_add_cart_json">
  195. <i class="fa fa-plus"></i>
  196. </a>
  197. </span>
  198. </div>
  199. </td>
  200. <td width="5%"> x </td>
  201. <td id="share_price" width="5%">25</td>
  202. <td width="7%" style="text-align:left;margin-right:20px"><span t-esc="company.currency_id.symbol"/></td>
  203. <td width="4%">= </td>
  204. <td width="20%">
  205. <div style="margin-top:12px" t-attf-class="form-group #{error and 'total_parts' in error and 'has-error' or ''}">
  206. <div>
  207. <input type="text" class="form-control total" name="total_parts" value="25" t-att-data-max="company.subscription_maximum_amount"
  208. t-att-readonly="'readonly'"
  209. />
  210. </div>
  211. </div>
  212. </td>
  213. </tr>
  214. </table>
  215. </div>
  216. <div t-if="res_company.allow_id_card_upload" t-attf-class="form-group #{error and 'file' in error and 'has-error' or ''}">
  217. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="file">Idendity card scan</label>
  218. <div class="col-md-7 col-sm-8">
  219. <input type="file" class="form-control" name="Resume" t-attf-value="#{file or ''}" style="width:50%"/>
  220. </div>
  221. </div>
  222. <div class="bottom-line" style="margin-left:178px;margin-top:0px;width:61%"></div>
  223. <br/>
  224. <div t-attf-class="form-group" >
  225. <label class="col-md-3 col-sm-4 control-label" for="data_policy_approved">Privacy Policy</label>
  226. <div class="col-md-1 col-sm-2">
  227. <input type="checkbox"
  228. class="form-control"
  229. name="data_policy_approved"
  230. required="True"
  231. t-attf-value="#{data_policy_approved or ''}"/>
  232. </div>
  233. <div class="col-md-6 col-sm-6">
  234. <t t-call="website_legal_page.acceptance_full"/>
  235. </div>
  236. </div>
  237. <table style="margin-left:195px">
  238. <tr>
  239. <td width="80%">
  240. <div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_site_key" data-theme="green"/><br/>
  241. </td>
  242. <td>
  243. <div class="form-group">
  244. <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
  245. <button class="btn btn-primary btn-lg">Send</button>
  246. </div>
  247. </div>
  248. </td>
  249. </tr>
  250. </table>
  251. <br/>
  252. </form>
  253. </div>
  254. </div>
  255. </div>
  256. <div class="oe_structure"/>
  257. </div>
  258. </t>
  259. </template>
  260. <template id="easy_my_coop.becomecompanycooperator" name="Become Cooperator" page="True">
  261. <t t-call="website.layout">
  262. <div id="wrap">
  263. <div class="oe_structure"/>
  264. <div class="container oe_easymy_coop">
  265. <h2 class="energie">Become Cooperator</h2><br/>
  266. <div class="row">
  267. <div class="col-md-8">
  268. <form action="/subscription/subscribe_share" method="post" class="form-horizontal mt32" enctype="multipart/form-data">
  269. <p style="color:red;"><t t-esc="error_msg"/></p>
  270. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  271. <div t-attf-class="form-group" style="display: none;">
  272. <label>
  273. <input type="checkbox" t-att-checked="logged" name="logged"/>
  274. Logged
  275. </label>
  276. <label>
  277. <input type="checkbox" t-att-value="is_company" checked="checked" name="is_company" />
  278. Is a company?
  279. </label>
  280. </div>
  281. <div t-attf-class="form-group">
  282. <label>
  283. Company Info
  284. </label>
  285. </div>
  286. <div t-attf-class="form-group #{error and 'company_register_number' in error and 'has-error' or ''}">
  287. <label class="col-md-3 col-sm-4 control-label" for="company_register_number">Company Register Number</label>
  288. <div class="col-md-7 col-sm-8">
  289. <input type="text" class="form-control mandatory-field" name="company_register_number" required="True" t-attf-value="#{company_register_number or ''}" placeholder="0647980091"/>
  290. </div>
  291. </div>
  292. <div t-attf-class="form-group #{error and 'company_name' in error and 'has-error' or ''}">
  293. <label class="col-md-3 col-sm-4 control-label" for="company_name">Company name</label>
  294. <div class="col-md-7 col-sm-8">
  295. <input type="text" class="form-control mandatory-field" name="company_name" required="True" t-attf-value="#{company_name or ''}" placeholder="La super coopérative"/>
  296. </div>
  297. </div>
  298. <div t-attf-class="form-group #{error and 'company_type' in error and 'has-error' or ''}">
  299. <label class="col-md-3 col-sm-4 control-label" for="company_type">Company type</label>
  300. <select name="company_type" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  301. <option value=""></option>
  302. <t t-foreach="company_types or []" t-as="type">
  303. <option t-att-value="type[0]" t-att-selected="type[0] == company_type"><t t-esc="type[1]"/></option>
  304. </t>
  305. </select>
  306. </div>
  307. <div t-attf-class="form-group #{error and 'company_email' in error and 'has-error' or ''}">
  308. <label class="col-md-3 col-sm-4 control-label" for="company_email">Company email</label>
  309. <div class="col-md-7 col-sm-8">
  310. <input type="text" class="form-control mandatory-field" name="company_email" required="True" t-attf-value="#{company_email or ''}" placeholder="administration@beescoop.be"/>
  311. </div>
  312. </div>
  313. <div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
  314. <label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
  315. <div class="col-md-7 col-sm-8">
  316. <input type="text" class="form-control mandatory-field" name="iban" required="True" t-attf-value="#{iban or ''}" placeholder="BE48523080767127"/>
  317. </div>
  318. </div>
  319. <br/>
  320. <div t-attf-class="form-group">
  321. <label>
  322. Main Address
  323. </label>
  324. </div>
  325. <div t-attf-class="form-group #{error and 'address' in error and 'has-error' or ''}">
  326. <label class="col-md-3 col-sm-4 control-label" for="address">Address</label>
  327. <div class="col-md-7 col-sm-8">
  328. <input type="text" class="form-control mandatory-field" name="address" required="True" t-attf-value="#{address or ''}" placeholder="rue Van Hove, 19"/>
  329. </div>
  330. </div>
  331. <div t-attf-class="form-group #{error and 'zip_code' in error and 'has-error' or ''}">
  332. <label class="col-md-3 col-sm-4 control-label" for="zip_code">City</label>
  333. <div class="col-md-7 col-sm-8">
  334. <table>
  335. <tr>
  336. <td width="20%">
  337. <input type="text" class="form-control mandatory-field" name="zip_code" required="True" t-attf-value="#{zip_code or ''}" placeholder="1030"/>
  338. </td>
  339. <td width="3%"></td>
  340. <td>
  341. <input type="text" class="form-control mandatory-field" name="city" required="True" t-attf-value="#{city or ''}" placeholder="Bruxelles"/>
  342. </td>
  343. </tr>
  344. </table>
  345. </div>
  346. </div>
  347. <div t-attf-class="form-group #{error and 'country_id' in error and 'has-error' or ''}">
  348. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="country_id">Country</label>
  349. <select name="country_id" class="col-md-7 col-sm-8 form-control" style="width:54%;margin-left:15px">
  350. <option value="">Country...</option>
  351. <t t-foreach="countries or []" t-as="country">
  352. <option t-att-value="country.id" t-att-selected="country.id == int(country_id)"><t t-esc="country.name"/></option>
  353. </t>
  354. </select>
  355. </div>
  356. <br/>
  357. <div t-attf-class="form-group">
  358. <label>
  359. Contact Person
  360. </label>
  361. </div>
  362. <div t-attf-class="form-group #{error and 'firstname' in error and 'has-error' or ''}">
  363. <label class="col-md-3 col-sm-4 control-label" for="firstname">First Name</label>
  364. <div class="col-md-7 col-sm-8" style="padding-top:5px">
  365. <input type="text" class="form-control mandatory-field" name="firstname" required="True" t-attf-value="#{firstname or ''}" placeholder="Didier"/>
  366. </div>
  367. </div>
  368. <div t-attf-class="form-group #{error and 'lastname' in error and 'has-error' or ''}">
  369. <label class="col-md-3 col-sm-4 control-label" for="lastname">Last Name</label>
  370. <div class="col-md-7 col-sm-8">
  371. <input type="text" class="form-control mandatory-field" name="lastname" required="True" t-attf-value="#{lastname or ''}" placeholder="Bourdon"/>
  372. </div>
  373. </div>
  374. <div t-attf-class="form-group #{error and 'gender' in error and 'has-error' or ''}">
  375. <label class="col-md-3 col-sm-4 control-label" for="gender">Gender</label>
  376. <select name="gender" class="col-md-7 col-sm-8 form-control" required="True" style="width:54%;margin-left:15px">
  377. <option value=""></option>
  378. <t t-foreach="genders or []" t-as="type">
  379. <option t-att-value="type[0]" t-att-selected="type[0] == gender"><t t-esc="type[1]"/></option>
  380. </t>
  381. </select>
  382. </div>
  383. <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
  384. <label class="col-md-3 col-sm-4 control-label" for="email">Email</label>
  385. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  386. <input type="email" class="form-control mandatory-field" name="email" required="True" t-attf-value="#{email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
  387. </div>
  388. </div>
  389. <div t-attf-class="form-group #{error and 'phone' in error and 'has-error' or ''}">
  390. <label class="col-md-3 col-sm-4 control-label" for="phone">Phone</label>
  391. <div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
  392. <input type="text" class="form-control" name="phone" required="True" t-attf-value="#{phone or ''}" placeholder="e.g. (+32).81.81.37.00"/>
  393. </div>
  394. </div>
  395. <div t-attf-class="form-group #{error and 'contact_person_function' in error and 'has-error' or ''}">
  396. <label class="col-md-3 col-sm-4 control-label" for="contact_person_function">Function</label>
  397. <div class="col-md-7 col-sm-8">
  398. <input type="text" class="form-control mandatory-field" name="contact_person_function" required="True" t-attf-value="#{contact_person_function or ''}"/>
  399. </div>
  400. </div>
  401. <div t-attf-class="form-group #{error and 'no_registre' in error and 'has-error' or ''}">
  402. <label class="col-md-3 col-sm-4 control-label" for="no_registre">National Register Number</label>
  403. <div class="col-md-7 col-sm-8">
  404. <input type="text" class="form-control mandatory-field" name="no_registre" required="True" t-attf-value="#{no_registre or ''}" placeholder="78230226321"/>
  405. </div>
  406. </div>
  407. <div t-attf-class="form-group #{error and 'birthday' in error and 'has-error' or ''}">
  408. <label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label>
  409. <div class="col-md-7 col-sm-8">
  410. <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"/>
  411. </div>
  412. </div>
  413. <div t-attf-class="form-group #{error and 'lang' in error and 'has-error' or ''}" >
  414. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="lang">Language</label>
  415. <select name="lang" class="col-md-7 col-sm-8 form-control " style="width:30%;margin-left:15px">
  416. <option value="2">Language...</option>
  417. <t t-foreach="langs or []" t-as="langue">
  418. <option t-att-value="langue.code" t-att-selected="langue.code == lang"><t t-esc="langue.name"/></option>
  419. </t>
  420. </select>
  421. <br/>
  422. <div class="bottom-line" style="margin-left:25%;margin-top:35px;width:59%"></div>
  423. </div>
  424. <div t-attf-class="form-group #{error and 'product_id' in error and 'has-error' or ''}">
  425. <label class="col-md-3 col-sm-4 control-label" style="width:25%" for="share_product_id">Parts type</label>
  426. <select id="share_product_id" name="share_product_id" class="col-md-7 col-sm-8 form-control " style="width:54%;margin-left:15px">
  427. <t t-foreach="products or []" t-as="product">
  428. <option t-att-value="product.id" t-att-selected="product.id == int(share_product_id)"><t t-esc="product.short_name"/></option>
  429. </t>
  430. </select>
  431. </div>
  432. <div class="form-group">
  433. <table style="width:80%">
  434. <tr>
  435. <td width="30%">
  436. <label style="text-align:right; width:100%;padding-right:30px">Parts number</label>
  437. </td>
  438. <td width="15%">
  439. <div class="css_quantity input-group oe_website_spinner">
  440. <span class="input-group-addon" style="margin-left:0px">
  441. <a t-attf-href="#" class="mb8 js_add_cart_json">
  442. <i class="fa fa-minus"></i>
  443. </a>
  444. </span>
  445. <input type="text" class="js_quantity form-control" data-min="1" name="ordered_parts" t-attf-value="#{ordered_parts or 1}"/>
  446. <span class="input-group-addon">
  447. <a t-attf-href="#" class="mb8 float_left js_add_cart_json">
  448. <i class="fa fa-plus"></i>
  449. </a>
  450. </span>
  451. </div>
  452. </td>
  453. <td width="5%">x </td>
  454. <td id="share_price" width="7%">25</td>
  455. <td width="3%"></td>
  456. <td width="5%">= </td>
  457. <td width="20%">
  458. <div style="margin-top:12px" t-attf-class="form-group #{error and 'total_parts' in error and 'has-error' or ''}">
  459. <div>
  460. <input type="text" class="form-control total" name="total_parts" value="25" data-max="5000"
  461. t-att-readonly="'readonly'"
  462. />
  463. </div>
  464. </div>
  465. </td>
  466. </tr>
  467. </table>
  468. </div>
  469. <div class="bottom-line" style="margin-left:178px;margin-top:0px;width:61%"></div>
  470. <br/>
  471. <div t-attf-class="form-group" >
  472. <label class="col-md-3 col-sm-4 control-label" for="data_policy_approved">Privacy Policy</label>
  473. <div class="col-md-1 col-sm-2">
  474. <input type="checkbox"
  475. class="form-control"
  476. name="data_policy_approved"
  477. required="True"
  478. t-attf-value="#{data_policy_approved or ''}"/>
  479. </div>
  480. <div class="col-md-6 col-sm-6">
  481. <t t-call="website_legal_page.acceptance_full"/>
  482. </div>
  483. </div>
  484. <div t-attf-class="form-group" >
  485. <div class="col-md-7 col-sm-8">
  486. <table style="margin-left:195px">
  487. <tr>
  488. <td width="80%">
  489. <div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_site_key" data-theme="green"/><br/>
  490. </td>
  491. <td>
  492. <div class="form-group">
  493. <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
  494. <button class="btn btn-primary btn-lg">Send</button>
  495. </div>
  496. </div>
  497. </td>
  498. </tr>
  499. </table>
  500. </div>
  501. </div>
  502. <br/>
  503. </form>
  504. </div>
  505. </div>
  506. </div>
  507. <div class="oe_structure"/>
  508. </div>
  509. </t>
  510. </template>
  511. <record id="menu_becomecooperator" model="website.menu">
  512. <field name="name">Become cooperator</field>
  513. <field name="url">/page/become_cooperator</field>
  514. <field name="parent_id" ref="website.main_menu"/>
  515. <field name="sequence" type="int">65</field>
  516. </record>
  517. <template id="footer_coop_email_contact" inherit_id="website.footer_default" customize_show="True" name="Coop email contact">
  518. <xpath expr="//span[@t-field='res_company.email']" position="replace">
  519. <span t-field="res_company.coop_email_contact"></span>
  520. </xpath>
  521. </template>
  522. <template id="company_description_coop_email_contact" inherit_id="website.company_description" name="Company Description Email Contact">
  523. <xpath expr="//div[@t-field='res_company.partner_id']" position="replace">
  524. <div t-field="res_company.partner_id" t-field-options='{
  525. "widget": "contact",
  526. "fields": ["name", "address", "phone", "mobile", "fax"]}'/>
  527. <ul class="list-unstyled">
  528. <li t-ignore="true"><i class="fa fa-envelope"></i><span t-field="res_company.coop_email_contact"></span></li>
  529. </ul>
  530. </xpath>
  531. </template>
  532. </data>
  533. </openerp>