{% extends "::base.html.twig" %}

{% trans_default_domain 'FOSUserBundle' %}

{% block body %}
    
    <div class="page animsition">
    <div class="page-header">
      <h1 class="page-title">{{ 'new user'  | trans }}</h1>
      <ol class="breadcrumb">
        <li><a href="{{ path('dashboard') }}">Home</a></li>
        <li><a href="{{ path('admin_users') }}">{{ 'users' | trans}}</a></li>
        <li class="active">{{ 'new' | trans}}</li>
      </ol>
    </div>
          
          
    <div class="page-content">      
      <div class="panel">

          <div class="panel-body">
              
              
    <p>{{ 'registration.confirmed'|trans({'%username%': user.username}) }}</p>
    {% if app.session is not empty %}
        {% set targetUrl = app.session.get('_security.' ~ app.security.token.providerKey ~ '.target_path') %}
        {% if targetUrl is not empty %}<p><a href="{{ targetUrl }}">{{ 'registration.back'|trans }}</a></p>{% endif %}
    {% endif %}
    
     </div>
      </div>
    </div>
</div>
    
{% endblock body %}
