{# def form #}
{#css vendor/bootstrap-icons/bootstrap-icons.css #}
<div class="d-flex align-items-center vh-100">
  <div style="width:32rem;">
    <h1 class="text-white">{{ header_name }}</h1>
    <div class="card">
      <div class="card-body">
        <Flash messages={{ get_flashed_messages() }} />
        {% block content %}
          <form id="form-login" role="form" method="post">
            <div class="row">
              <Field field={{ form.login }} floating={{ True }} />
              <Field field={{ form.password }} floating={{ True }} />
              <Field field={{ form.persistent }} container-class="col-sm-6" label-class="ssp-tooltip" label-data-bs-toggle="tooltip" label-data-bs-placement="right" />
              <Field field={{ form.submit }} class="btn-primary float-end" container-class="col-sm-6" />
            </div>
          </form>
        {% endblock %}
      </div>
    </div>
  </div>
</div>
