{% extends "@frontend/base_layout_no_header.html.twig" %}
{% block content %}
<div class="container" id="loginContainerLarge">
<div class="row">
<div class="col-md-12">
<div class="login-container">
<div class="row">
<div class="col-md-12">
<div class="select-container login-user">
<h2 class="text-center">Jetzt einloggen</h2>
{% if error is not empty %}
<div class="alert alert-danger alert-error text-center">
Bitte E-Mail-Adresse oder Passwort überprüfen
</div>
{% endif %}
<form id="navbar-login-form" class="form marginTop20" data-disabled="false" method="post" action="/login">
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<div class="form-group">
<label for="email" class="hidden-xs hidden-sm">E-Mail-Adresse oder Klassen-ID</label>
<input id="email" class="form-control" tabindex="1" name="username" type="text" placeholder="E-Mail-Adresse oder Klassen-ID eingeben" {% if last_username is not empty %}value="{{last_username}}"{% endif %}>
</div>
<div class="form-group">
<label for="password" class="hidden-xs hidden-sm">Passwort</label>
<input id="password" class="form-control" tabindex="2" name="password" type="password" placeholder="Passwort eingeben">
</div>
<button class="btn btn-block" type="submit" name="_submit">Einloggen</button>
<div class="marginTop40" style="text-align:right; font-size:12px;">
<a style="color:#FFF;" href="/passwort_vergessen">Passwort vergessen?</a>
</div>
</form>
</div>
<div class="select-spacer">
</div>
<div class="select-container new-account">
<h2 class="text-center">Jetzt registrieren!</h2>
<a class="register-new" href="{{path('register_default')}}">
<div class="register-new-icon text-center">
<i class="fa fa-user" aria-hidden="true"></i>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container login-container" id="loginContainerSmall">
<div class="row" style="width: 100%;">
<div class="col-xs-12">
<div class="login-container-small">
<h2 class="text-center">Jetzt einloggen</h2>
{% if error is not empty %}
<div class="alert alert-danger alert-error text-center">
Bitte E-Mail-Adresse oder Passwort überprüfen
</div>
{% endif %}
<form id="navbar-login-form" class="form marginTop20" data-disabled="false" method="post" action="/login">
<div class="form-group">
<label for="email" class="hidden-xs hidden-sm">E-Mail-Adresse oder Klassen-ID</label>
<input id="email" class="form-control" tabindex="1" name="username" type="text" placeholder="E-Mail-Adresse oder Klassen-ID eingeben" {% if last_username is not empty %}value="{{last_username}}"{% endif %}>
</div>
<div class="form-group">
<label for="password" class="hidden-xs hidden-sm">Passwort</label>
<input id="password" class="form-control" tabindex="2" name="password" type="password" placeholder="Passwort eingeben">
</div>
<button class="btn btn-block" type="submit" name="_submit">Einloggen</button>
<div class="marginTop40" style="text-align:right; font-size:12px;">
<a style="color:#FFF;" href="/passwort_vergessen">Passwort vergessen?</a>
</div>
</form>
</div>
</div>
<div class="col-xs-12">
<div class="new-container-small">
<h2 class="text-center">Jetzt registrieren!</h2>
<a class="register-new" href="{{path('register_default')}}">
<div class="register-new-icon text-center">
<i class="fa fa-user" aria-hidden="true"></i>
</div>
</a>
</div>
</div>
<!--<div class="col-md-12">
<div class="login-container">
<div class="row">
<div class="col-md-12">
<div class="select-container login-user">
<h2 class="text-center">Jetzt einloggen</h2>
{% if error is not empty %}
<div class="alert alert-danger alert-error text-center">
Bitte E-Mail-Adresse oder Passwort überprüfen
</div>
{% endif %}
<form id="navbar-login-form" class="form marginTop20" data-disabled="false" method="post" action="/login">
<div class="form-group">
<label for="email" class="hidden-xs hidden-sm">E-Mail-Adresse oder Klassen-ID</label>
<input id="email" class="form-control" tabindex="1" name="username" type="text" placeholder="E-Mail-Adresse oder Klassen-ID eingeben" {% if last_username is not empty %}value="{{last_username}}"{% endif %}>
</div>
<div class="form-group">
<label for="password" class="hidden-xs hidden-sm">Passwort</label>
<input id="password" class="form-control" tabindex="2" name="password" type="password" placeholder="Passwort eingeben">
</div>
<button class="btn btn-block" type="submit" name="_submit">Einloggen</button>
<div class="marginTop40" style="text-align:right; font-size:12px;">
<a style="color:#FFF;" href="/passwort_vergessen">Passwort vergessen?</a>
</div>
</form>
</div>
<div class="select-spacer">
</div>
<div class="select-container new-account">
<h2 class="text-center">Jetzt registrieren!</h2>
<a class="register-new" href="{{path('register_default')}}">
<div class="register-new-icon text-center">
<i class="fa fa-user" aria-hidden="true"></i>
</div>
</a>
</div>
</div>
</div>
</div>
</div>-->
</div>
</div>
{% endblock content %}