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.

551 lines
30 KiB

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