{% extends 'base.html.twig' %}
{% block title %}{{ 'PowerVoice: Manager'|trans }}{% endblock title %}
{% block body %}
{% if error %}
<div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
<form action="{{ path('manager_login') }}" method="post" class="form-signin">
<label for="username" class="sr-only">{{ 'Username'|trans({}, 'security') }}</label>
<input id="username" class="form-control login-username" placeholder="{{ 'E-mail'|trans({}, 'security') }}" required="" autofocus="" type="text" name="_username" value="{{ last_username }}" />
<label for="password" class="sr-only">{{ 'Password'|trans({}, 'security') }}</label>
<input id="password" class="form-control login-password" placeholder="{{ 'Password'|trans({}, 'security') }}" required="" type="password" name="_password" />
<button class="btn btn-lg btn-primary btn-block" type="submit">{{ 'Sign in'|trans({}, 'security') }}</button>
<a href="{{ path('manager_ask_recovery') }}">{{ 'Forgot your password?'|trans({}, 'security') }}</a>
</form>
{% endblock %}