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