Browse Source

[FIX] emc_website: Checkbox become cooperator form

pull/129/head
Rémy Taymans 4 years ago
parent
commit
fdb05c5f20
  1. 2
      easy_my_coop_website/__manifest__.py
  2. 45
      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",

45
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>
<input type="checkbox"
name="internal_rules_approved"
t-att-required="internal_rules_required"
t-att-checked="internal_rules_approved"/>
<div class="form-check">
<input type="checkbox"
name="internal_rules_approved"
class="form-check-input"
t-att-required="internal_rules_required"
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>
<input type="checkbox"
name="data_policy_approved"
t-att-required="data_policy_required"
t-att-checked="data_policy_approved"/>
<div class="form-check">
<input type="checkbox"
name="data_policy_approved"
class="form-check-input"
t-att-required="data_policy_required"
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>
<input type="checkbox"
name="financial_risk_approved"
t-att-required="financial_risk_required"
t-att-checked="financial_risk_approved"/>
<div class="form-check">
<input type="checkbox"
name="financial_risk_approved"
class="form-check-input"
t-att-required="financial_risk_required"
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