Skip to content

Commit

Permalink
Make back button consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Mar 12, 2024
1 parent dd80a80 commit a0e3566
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions portal/templates/portal/reset_password_email_sent.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@ <h4>Thank you</h4>
<h5>If you have entered a valid email address, you will receive a link to
reset your password. Make sure to check your <strong>spam</strong>.</h5>
<img class="background" title="Paper Plane" alt="Verification email sent" src="{% static 'portal/img/paper_plane.png' %}">
<div>
{% if usertype == "TEACHER" %}
<a href="{% url 'home' %}" class="button button--home button--primary teacher--home--button">Back to homepage</a>
{% else %}
<a href="{% url 'home' %}" class="button button--home">Back to homepage</a>
{% endif %}
</div>
<p class="text-left"><a id="home_button" href="{% url 'home' %}">&lt; back to homepage</a></p>
{% endblock form_content %}

0 comments on commit a0e3566

Please sign in to comment.