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

Open in your IDE?
  1. {% extends "backend.html.twig" %}
  2. {% set page_title     = 'backend.security.login' | trans %}
  3. {% set page_showtitle = true %}
  4. {% block content %}
  5. <div class="columns">
  6.     <div class="column is-6 is-offset-3">
  7.         {% if error %}
  8.             <div class="notification is-danger">
  9.                 {{ error.messageKey | trans(error.messageData, 'backend.security') }}
  10.             </div>
  11.         {% endif %}
  12.         <form method="post">
  13.             <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  14.             <b-field label="{{ "backend.security.username" | trans }}" custom-class="has-text-light">
  15.                 <b-input name="_username" placeholder="{{ "backend.security.username" | trans }}" icon="user"></b-input>
  16.             </b-field>
  17.             <b-field label="{{ "backend.security.password" | trans }}" custom-class="has-text-light">
  18.                 <b-input name="_password" placeholder="{{ "backend.security.password" | trans }}" icon="key" type="password" password-reveal></b-input>
  19.             </b-field>
  20.             <b-field>
  21.                 <b-checkbox name="_remember_me" class="has-text-light">{{ "backend.security.remember_me" | trans }}</b-checkbox>
  22.             </b-field>
  23.             <div class="field is-grouped">
  24.                 <div class="control">
  25.                     <button class="button is-link">{{ "backend.security.login" | trans }}</button>
  26.                 </div>
  27.                 <div class="control">
  28.                     <a href="{{ url('security.password_forgotten') }}" class="button is-text has-text-light">{{ "backend.security.password_forgotten" | trans }} ?</a>
  29.                 </div>
  30.             </div>
  31.         </form>
  32.         <div class="mt-5 has-text-centered">
  33.             <a href="{{ url('system.register.index') }}" class="has-text-light">Noch kein Konto ? Jetzt registrieren und kostenlos testen.</a>
  34.         </div>
  35.     </div>
  36. </div>
  37. {% endblock %}