Browse Source

[FIX] fix checkbox not filled when logged and already coop

pull/4/head
houssine 6 years ago
parent
commit
032b731e5a
  1. 18
      easy_my_coop/view/subscription_template.xml

18
easy_my_coop/view/subscription_template.xml

@ -70,18 +70,12 @@
</label>
</div>
<div t-attf-class="form-group">
<div class="row">
<label class="col-md-3 col-sm-4 control-label" for="already_cooperator">Already cooperator?</label>
<div class="col-md-2 col-sm-2">
<input type="checkbox"
class="form-control"
name="already_cooperator"
t-att-value="already_cooperator"
/>
</div>
</div>
</div>
<div t-attf-class="form-group" style="display: none;">
Already cooperator?
<input type="checkbox"
name="already_cooperator"
t-att-checked="already_cooperator"/>
</div>
<div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
<label class="col-md-3 col-sm-4 control-label" for="email">Email</label>

Loading…
Cancel
Save