{% include "site/header.html" %}
{% include "site/view_header.html" with errors=errors %}
{% load i18n %}

<div class="view_info">
  <div class="container v2-login">
    <div class="row marg-top-15 marg-bot-15">
      {% if wizard %}
      <div class="col-xs-12 col-sm-4"></div>
      <div class="col-xs-12 col-sm-4  panel left">
      {% else %}
      <div class="col-xs-12 col-md-6">
      {% endif %}

      {% block content %}
      {% endblock %}

      {% if wizard.steps.current == "auth" %}

        {% if passwordless_error %}

        <p>
        <div class="alert alert-danger">
        {{ passwordless_error }}
        </div>
        </p>

        {% endif %}

        <p>
          <div class="alert alert-info">
            {% blocktrans trimmed %}
            For <strong>password-less</strong> authentication leave the password field
            empty and make sure your
            registered U2F FIDO security key is available / connected.
            {% endblocktrans %}
          </div>
        </p>

      {% endif %}

      </div>
      {% if wizard %}
      <div class="col-xs-12 col-sm-4"></div>
      {% else %}
      <div class="col-xs-12 col-md-6">
      {% block content_right %}

      {% endblock %}
      </div>
      {% endif %}
    </div>
  </div>
</div>


{% include "site/footer.html" %}
