<div class="tc-panel-header">
{% if other_title is defined and other_title %}
<h3 class="tc-center tc-neutral-color">{{ other_title }}</h3>
{% else %}
<h3 class="tc-center tc-neutral-color">Vous avez déjà un compte ? Connectez-vous !</h3>
{% endif %}
</div>
<div class="tc-panel-body">
<div class="tc-block">
<div class="tc-block-body">
{% include 'includes/result.inc.html.twig' %}
<form method="post" id="connexionform" action="{{ page_connexion }}">
{% if error.no_confirm is defined %}
<label for="activekey">{{ form.activekey.label|raw }}</label>
<p>{{ form.activekey.html|raw }}</p>
{% endif %}
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<div class="mb-3">
Vous êtes déjà connecté {{ app.user.login }}, <a href="{{ path('app_logout') }}">Logout</a>
</div>
{% endif %}
<div class="form-group">
<label for="inputEmail" class="text-normal text-dark">Pseudonyme mon théâtre</label>
<input type="text" value="{{ last_username }}" name="username" id="inputEmail" class="form-control" required autofocus>
</div>
<div class="form-group">
<label for="inputPassword" class="text-normal text-dark">Mot de passe</label>
<input type="password" name="password" id="inputPassword" class="form-control" required>
</div>
<div class="form-group">
<div class="peers ai-c jc-sb fxw-nw">
<div class="peer">
<input type="hidden" name="csrf_token" value="{{ csrf_token('login_form') }}" />
{% if urifrom is defined and urifrom %}
<input type="hidden" name="urifrom" value="{{ urifrom }}" />
{% endif %}
<p>
<input class="boutform" type="submit" value="Connexion" />
<input type="checkbox" id="remember_me" name="_remember_me" checked="checked" class="checkbox" />
<label for="remember_me">rester connecter</label>
</p>
</div>
<div style="margin-top: .5rem">
<a class="tc-bold" href="{{ page_recuppass }}" rel="nofollow">Pseudonyme ou mot de passe oublié ?</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>