{% extends 'right_wide.html.twig' %}
{% block title %}Connexion{% endblock %}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('css/login-form-new.css') }}" />
{% endblock %}
{% block body %}
<div class="container">
<div class="row">
<div class="login-form">
<form method="post">
{% embed "partials/logo.html.twig" %}{% endembed %}
<div class="form-group">
<label for="inputEmail" class="login-label text-uppercase">{% trans %}Votre adresse email{% endtrans %}</label>
{% if language is defined and language == 'fr' %}
<p><small><span class="font-weight-bold">Vous connecter</span> avec votre compte Planet Fitness ou <span class="font-weight-bold">créer un compte :</span></small></p>
{% endif %}
<input type="email" value="" name="email" id="inputEmail" class="login-border form-control login-input" required autofocus>
<input type="hidden" value="{{ app.request.get('brandCode') }}" name="brandCode" id="brandCode">
<input type="hidden" value="{{ app.request.get('apiKey') }}" name="apiKey" id="apiKey">
</div>
<button class="login-border btn btn-lg login-form-button btn-black text-uppercase" type="submit" name="submitLogin">
{% trans %}Suivant{% endtrans %}
</button>
<p class="credit"><small>www.planet-fitness.com © {{ 'now' | date('Y') }}</small></p>
</form>
</div>
</div>
</div>
{% endblock %}