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.

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