templates/auth.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% set pageTitle = 'Авторизация' %}
  3. {% set bodyClass = 'text-center' %}
  4. {% block stylesheets %}
  5.     {{ encore_entry_link_tags('auth') }}
  6. {% endblock %}
  7. {% block body %}
  8.     {{ form_start(form, {'attr': {'class': 'form-signin'}}) }}
  9.     <h1 class="h3 mb-3 font-weight-normal">{{ pageTitle }}</h1>
  10.         {{ form_row(form._username) }}
  11.         {{ form_row(form._password) }}
  12.         {% if error %}
  13.             <div class="form-group">
  14.                 <div class="invalid-feedback d-block">
  15.                     {{ error }}
  16.                 </div>
  17.             </div>
  18.         {% endif %}
  19.         {{ form_row(form.submit) }}
  20.     {{ form_end(form) }}
  21. {% endblock %}
  22. {% block javascripts %}
  23.     {{ encore_entry_script_tags('auth') }}
  24. {% endblock %}