{% extends './layout/default' %}

{% block breadcrumbs %}
    {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }}
{% endblock %}

{% block content %}
        <div class="row">
            <div class="col-lg-6 col-lg-offset-3 col-md-12 col-sm-12 col-xs-12">
                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">{{ 'mfa_backup_codes_post_title'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <div class="form group">
                            <p>
                                {{ '2fa_backup_codes'|_ }}
                            </p>
                            <textarea rows="10" class="form-control" readonly>{{ codes }}</textarea>
                        </div>
                    </div>
                    <div class="box-footer">
                        <a class="btn btn-success" href="{{ route('profile.mfa.index') }}">{{ '2fa_i_have_them'|_ }}</a>
                    </div>
                </div>
            </div>
        </div>
{% endblock %}
