Browse Source

[IMP] add t-if and change the site key variable name

pull/12/head
houssine 5 years ago
parent
commit
e3f4865b48
  1. 6
      easy_my_coop_website/views/subscription_template.xml

6
easy_my_coop_website/views/subscription_template.xml

@ -10,7 +10,9 @@
<template id="company_operational_offices" inherit_id="website.company_description" name="Company Description"> <template id="company_operational_offices" inherit_id="website.company_description" name="Company Description">
<address itemscope="itemscope" position="inside"> <address itemscope="itemscope" position="inside">
<div class="fa fa-building-o" t-field="res_company.company_registry"/><br/> <div class="fa fa-building-o" t-field="res_company.company_registry"/><br/>
<div class="fa fa-bank" t-field="res_company.partner_id.bank_ids[0].sanitized_acc_number"/>
<t t-if="res_company.partner_id.bank_ids">
<div class="fa fa-bank" t-field="res_company.partner_id.bank_ids[0].sanitized_acc_number"/>
</t>
</address> </address>
</template> </template>
@ -241,7 +243,7 @@
<table style="margin-left:195px"> <table style="margin-left:195px">
<tr> <tr>
<td width="80%"> <td width="80%">
<div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_site_key" data-theme="green"/><br/>
<div class="g-recaptcha" t-att-data-sitekey="website.recaptcha_key_site" data-theme="green"/><br/>
</td> </td>
<td> <td>
<div class="form-group"> <div class="form-group">

Loading…
Cancel
Save