Browse Source

[FIX] fix email confirmation read only when logged.

pull/18/head
houssine 5 years ago
parent
commit
3308dbc4c7
  1. 4
      easy_my_coop/view/subscription_template.xml

4
easy_my_coop/view/subscription_template.xml

@ -86,11 +86,11 @@
</div>
</div>
<div name="confirm_email_container" t-attf-class="form-group #{error and 'email_from' in error and 'has-error' or ''}">
<div t-if="not logged" name="confirm_email_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="confirm_email">Confirm Email</label>
<div class="col-md-7 col-sm-8 bottom-line" style="padding-bottom:20px">
<input type="confirm_email" class="form-control mandatory-field" name="confirm_email"
required="required" t-att-readonly="logged"
t-att-required="not logged" t-att-readonly="logged"
t-attf-value="#{confirm_email or ''}" placeholder="didier.bourdon@bees-coop.be"/>
</div>
</div>

Loading…
Cancel
Save