Browse Source

[IMP] use qweb syntax

pull/158/head
houssine 5 years ago
parent
commit
fdd7fc3586
  1. 10
      beesdoo_easy_my_coop/views/subscription_templates.xml

10
beesdoo_easy_my_coop/views/subscription_templates.xml

@ -8,18 +8,18 @@
name="Become Cooperator (in beesdoo_easy_my_coop)"
inherit_id="easy_my_coop_website.becomecooperator">
<xpath expr="//div[@id='data_policy_approved']" position="before">
<div id="info_session_confirmed" t-if="display_info_session"
t-attf-class="form-group">
<div id="info_session_confirmed" t-if="display_info_session" t-attf-class="form-group" >
<label class="col-md-3 col-sm-4 control-label"
for="info_session_confirmed">Info Session
for="info_session_confirmed">
Info Session
</label>
<div class="col-md-9 col-sm-8">
<div class="checkbox">
<label for="info_session_confirmed">
<input type="checkbox"
name="info_session_confirmed"
t-att="{'required': 'required'} if info_session_required else {}"
t-attf-value="#{data_policy_approved or ''}"/>
t-att-required="info_session_required"
t-att-checked="data_policy_approved"/>
<t t-raw="info_session_text"/>
</label>
</div>

Loading…
Cancel
Save