templates/security/manager/login.html.twig line 1

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