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.

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