{% extends template ~ '.html.twig' %}

{% block title %}Confirm{% endblock %}

{% block body %}
    {% for flashError in app.flashes('verify_email_error') %}
        <div class="alert alert-danger" role="alert">{{ flashError }}</div>
    {% endfor %}

    <h1>Confirm</h1>

    {{ form_start(form) }}
    {{ form_errors(form) }}
    {{ form_row(form._token) }}
    
        <div class="form-group">
            {{ form_label(form.smsCode, 'smsCode') }}
            {{ form_widget(form.smsCode, {'attr': {'class': 'form-control'}}) }}
            <div class="form-error">
                {{ form_errors(form.smsCode) }}
            </div>
        </div>

        <button class="btn btn-primary">Confirm</button>
    {{ form_end(form) }}

{% endblock %}
