{% extends user.is_authenticated|yesno:"base.html,NEMO_online_training/base.html" %}
{% block title %}Invalid link{% endblock %}
{% block content %}
    <h3>Invalid link</h3>
    This link is invalid or has expired.
    {% if user_training_id %}
        Click below to generate a new one (it will be sent to the email address on file for this training)
        <form action="{% url 'public_online_training_generate_user_training_email' user_training_id %}"
              method="post">
            {% csrf_token %}
            <br>
            <input type="submit" class="btn btn-success" value="Generate new link">
        </form>
    {% endif %}
{% endblock %}
