{% extends 'layouts/base.njk' %}

{% set actionType = magicLink.action_type %}
{% set h1 = 'Magic Link' + (' - ' + actionType if actionType) %}
{% set title = app.name + ' ' + h1 %}

{% block body %}
    <div class="container">
        <div class="panel">
            {% if err %}
                {{ macros.message('error', err) }}
            {% else %}
                {{ macros.message('success', 'Success!') }}
                <p>You can now close this page.</p>
            {% endif %}
        </div>
    </div>
{% endblock %}