Browse Source

[FIX] fix qweb wrong use of t-att

12.0-add-financial-risk
houssine 5 years ago
parent
commit
9ab3bf3588
  1. 10
      easy_my_coop_website/views/subscription_template.xml

10
easy_my_coop_website/views/subscription_template.xml

@ -267,7 +267,7 @@
<label> <label>
<input type="checkbox" <input type="checkbox"
name="data_policy_approved" name="data_policy_approved"
t-att="{'required': 'required'} if data_policy_required else {}"
t-att-required="data_policy_required"
t-att-checked="data_policy_approved"/> t-att-checked="data_policy_approved"/>
<t t-raw="data_policy_text"/> <t t-raw="data_policy_text"/>
</label> </label>
@ -282,8 +282,8 @@
<label> <label>
<input type="checkbox" <input type="checkbox"
name="internal_rules_approved" name="internal_rules_approved"
t-att="{'required': 'required'} if internal_rules_required else {}"
t-att-checked="internal_rules_approved}"/>
t-att-required="internal_rules_required"
t-att-checked="internal_rules_approved"/>
<t t-raw="internal_rules_text"/> <t t-raw="internal_rules_text"/>
</label> </label>
</div> </div>
@ -587,7 +587,7 @@
<label> <label>
<input type="checkbox" <input type="checkbox"
name="data_policy_approved" name="data_policy_approved"
t-att="{'required': 'required'} if data_policy_required else {}"
t-att-required="data_policy_required"
t-att-checked="data_policy_approved"/> t-att-checked="data_policy_approved"/>
<t t-raw="data_policy_text"/> <t t-raw="data_policy_text"/>
</label> </label>
@ -602,7 +602,7 @@
<label> <label>
<input type="checkbox" <input type="checkbox"
name="internal_rules_approved" name="internal_rules_approved"
t-att="{'required': 'required'} if internal_rules_required else {}"
t-att-required="internal_rules_required"
t-att-checked="internal_rules_approved"/> t-att-checked="internal_rules_approved"/>
<t t-raw="internal_rules_text"/> <t t-raw="internal_rules_text"/>
</label> </label>

Loading…
Cancel
Save