{% extends "account/account_base.twig" %}

{% set view_title = 'account.resend_confirm_email_title' %}
{% set view_icon = 'envelope' %}
{% set view_description = 'account.resend_confirm_email_description' %}

{% block view_content %}
    <form style="display: flex; flex-direction: column; justify-content: space-between; height: 100%">
        <div>
            <p class='lead'>
                {{ L("account.resend_confirm_email_form_title") }}
            </p>
            <div class="input-group">
                <div class="input-group-append">
                    <span class="input-group-text"><i class="fas fa-at"></i></span>
                </div>
                <input id="email" autocomplete='email' name="email" placeholder="{{ L('account.email') }}"
                       class="form-control" type="email" maxlength="64" />
            </div>
        </div>
        <div class="input-group mt-2">
            <button id='btnResendConfirmEmail' class='btn btn-primary'>
                {{ L('general.request') }}
            </button>
            <a href='/login' style='margin-left: 10px'>
                <button class='btn btn-secondary' type='button'>
                    {{ L('account.back_to_login') }}
                </button>
            </a>
        </div>
    </form>
{% endblock %}
