{% extends 'portal/base.html' %}
{% load staticfiles %}
{% load app_tags %}

{% block content %}
<div id="emailVerificationNeeded_page"></div>

{% if is_teacher %}
<div class="form--register form--register--teacher is-flex">
{% else %}
<div class="form--register form--register--indep-student is-flex">
{% endif %}
    <div class="col-xs-12 col-sm-8 col-md-6 col-lg-4 center-block">
        <h4>We need to verify your email address</h4>
        <img class="background" title="Paper Plane" alt="Verification email sent" src="{% static 'portal/img/paper_plane.png' %}">
        <p>An email has been sent to the address you provided.<br>Please follow the link within the email to verify your details.</p>
        <p>If you don't receive the email within the next few minutes, check your spam folder.</p>
        <a id="home_button" href="{% url 'home' %}">Back to homepage</a>
    </div>
</div>

{% endblock content %}
