1 {% extends "FOSUserBundle::layout.html.twig" %}
3 {% block title %}{{ parent() }}registration confirmed{% endblock %}
5 {% block fos_user_content %}
6 {% trans_default_domain 'FOSUserBundle' %}
8 <div class="top-spaced col-xs-12 center-txt">{{ 'registration.confirmed'|trans({'%username%': user.username}) }}</div>
9 {% if app.session is not empty %}
10 {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
11 {% if targetUrl is not empty %}<div class="col-xs-12 center-txt"><a href="{{ targetUrl }}">{{ 'registration.back'|trans }}</a></div>{% endif %}
14 {% endblock fos_user_content %}