Browse Source

Merge pull request #129 from coopiteasy/12.0-fix-emc_website-checkbox

[FIX] emc_website: Checkbox become cooperator form
pull/137/head 12.0-2020-11-10.00
Manuel Claeys Bouuaert 4 years ago
committed by GitHub
parent
commit
0733636f68
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      easy_my_coop_website/__manifest__.py
  2. 21
      easy_my_coop_website/views/subscription_template.xml

2
easy_my_coop_website/__manifest__.py

@ -5,7 +5,7 @@
{ {
"name": "Easy My Coop Website", "name": "Easy My Coop Website",
"version": "12.0.1.0.3",
"version": "12.0.1.0.4",
"depends": ["easy_my_coop", "website", "website_recaptcha_reloaded"], "depends": ["easy_my_coop", "website", "website_recaptcha_reloaded"],
"author": "Coop IT Easy SCRLfs", "author": "Coop IT Easy SCRLfs",
"category": "Cooperative management", "category": "Cooperative management",

21
easy_my_coop_website/views/subscription_template.xml

@ -440,14 +440,15 @@
Internal Rules Internal Rules
</label> </label>
<div class="col-md-9 col-sm-8"> <div class="col-md-9 col-sm-8">
<div class="checkbox">
<label>
<div class="form-check">
<input type="checkbox" <input type="checkbox"
name="internal_rules_approved" name="internal_rules_approved"
class="form-check-input"
t-att-required="internal_rules_required" t-att-required="internal_rules_required"
t-att-checked="internal_rules_approved"/> t-att-checked="internal_rules_approved"/>
<div class="form-check-label">
<t t-raw="internal_rules_text"/> <t t-raw="internal_rules_text"/>
</label>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -460,14 +461,15 @@
Policy Policy
</label> </label>
<div class="col-md-9 col-sm-8"> <div class="col-md-9 col-sm-8">
<div class="checkbox">
<label>
<div class="form-check">
<input type="checkbox" <input type="checkbox"
name="data_policy_approved" name="data_policy_approved"
class="form-check-input"
t-att-required="data_policy_required" t-att-required="data_policy_required"
t-att-checked="data_policy_approved"/> t-att-checked="data_policy_approved"/>
<div class="form-check-label">
<t t-raw="data_policy_text"/> <t t-raw="data_policy_text"/>
</label>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -480,14 +482,15 @@
Financial Risk Financial Risk
</label> </label>
<div class="col-md-9 col-sm-8"> <div class="col-md-9 col-sm-8">
<div class="checkbox">
<label>
<div class="form-check">
<input type="checkbox" <input type="checkbox"
name="financial_risk_approved" name="financial_risk_approved"
class="form-check-input"
t-att-required="financial_risk_required" t-att-required="financial_risk_required"
t-att-checked="financial_risk_approved"/> t-att-checked="financial_risk_approved"/>
<div class="form-check-label">
<t t-raw="financial_risk_text"/> <t t-raw="financial_risk_text"/>
</label>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save