Browse Source

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

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

12
easy_my_coop/view/subscription_template.xml

@ -70,17 +70,11 @@
</label> </label>
</div> </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">
<div t-attf-class="form-group" style="display: none;">
Already cooperator?
<input type="checkbox" <input type="checkbox"
class="form-control"
name="already_cooperator" name="already_cooperator"
t-att-value="already_cooperator"
/>
</div>
</div>
t-att-checked="already_cooperator"/>
</div> </div>
<div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}"> <div name="email_from_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">

Loading…
Cancel
Save