{# templates/mdl/pages/one-time-authorization.html.twig #}
{% extends '@mdl/base.html.twig' %}
{% set title = 'Ask Access' %}
{% set layoutTitle = title %}
{% set htmlTitle = title %}
{% set htmlDescription = title %}
{% block main %}
{% set sentToEmail = app.request.get('sentToEmail') %}
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--8-col ">
{% if sentToEmail %}
<h5 class="mdl-color-text--primary">The link is sent to <strong>{{ sentToEmail }}</strong></h5>
{% else %}
{% include('mdl/forms/one-time-authorization.html.twig') with { message : message ?? '' } %}
{% endif %}
</div>
</div>
{% endblock %}