{% 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">{{ 'pref_two_factor_auth_code'|_ }}</h3>
                    </div>
                    <div class="box-body">
                        <div class="form group">
                            <p>
                                {{ '2fa_backup_codes'|_ }}
                            </p>
                            <pre>{{ codes }}</pre>
                        </div>
                    </div>
                    <div class="box-footer">
                        <a class="btn btn-success" href="{{ route('profile.index') }}">{{ '2fa_i_have_them'|_ }}</a>
                    </div>
                </div>
            </div>
        </div>

{% endblock %}
