fix: format html of verify email for book appointment

This commit is contained in:
Daizy Modi 2022-12-15 16:51:00 +05:30
parent 25f0b26a17
commit 9a00b3bdbd

View File

@ -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%}