fix: format html of verify email for book appointment
This commit is contained in:
parent
25f0b26a17
commit
9a00b3bdbd
@ -5,14 +5,12 @@
|
|||||||
{% endblock%}
|
{% endblock%}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
|
{%- set alert_class = 'alert-success' if success else 'alert-danger' -%}
|
||||||
{% if success==True %}
|
<div class="alert {{ alert_class }}">
|
||||||
<div class="alert alert-success">
|
{% if success==True %}
|
||||||
{{ _("Your email has been verified and your appointment has been scheduled") }}
|
{{ _("Your email has been verified and your appointment has been scheduled") }}
|
||||||
</div>
|
{% else %}
|
||||||
{% else %}
|
|
||||||
<div class="alert alert-danger">
|
|
||||||
{{ _("Verification failed please check the link") }}
|
{{ _("Verification failed please check the link") }}
|
||||||
</div>
|
{% endif %}
|
||||||
{% endif %}
|
</div>
|
||||||
{% endblock%}
|
{% endblock%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user