Browse Source

[CHG] emc: Hide fields in become_cooperator when user is logged

9.0-medor-hide_bank_and_birthdate
Rémy Taymans 5 years ago
parent
commit
e87c7b9e9a
  1. 4
      easy_my_coop/view/subscription_template.xml

4
easy_my_coop/view/subscription_template.xml

@ -124,7 +124,7 @@
</select> </select>
</div> </div>
<div t-attf-class="form-group #{error and 'birthdate' in error and 'has-error' or ''}">
<div t-attf-class="form-group #{error and 'birthdate' in error and 'has-error' or ''}" t-att-style="'display: none;' if logged else None">
<label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label> <label class="col-md-3 col-sm-4 control-label" for="birthdate">Birthdate</label>
<div class="col-md-7 col-sm-8"> <div class="col-md-7 col-sm-8">
<input type="text" data-inputmask="'alias': 'date'" class="form-control mandatory-field" <input type="text" data-inputmask="'alias': 'date'" class="form-control mandatory-field"
@ -133,7 +133,7 @@
</div> </div>
</div> </div>
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}">
<div t-attf-class="form-group #{error and 'iban' in error and 'has-error' or ''}" t-att-style="'display: none;' if logged else None">
<label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label> <label class="col-md-3 col-sm-4 control-label" for="iban">Bank Account Number</label>
<div class="col-md-7 col-sm-8"> <div class="col-md-7 col-sm-8">
<input type="text" class="form-control mandatory-field" name="iban" <input type="text" class="form-control mandatory-field" name="iban"

Loading…
Cancel
Save