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.

553 lines
30 KiB

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