{% extends "base.html" %}
{% load i18n %}


{% block auth %}{% endblock %}

{% block content %}

<h1 class="title">{% trans "Choisissez la méthode de connexion" %}</h1>
<hr>

<div class="tile is-ancestor">
  <div class="tile is-parent">
    <a class="tile is-child notification is-primary" href="{% url "authens:login.cas" %}?next={{ next }}">
      <div class="subtitle has-text-centered mb-2">
        <span class="icon has-text-white">
          <i class="fas fa-school"></i>
        </span>
        <span class="ml-3">{% trans "Connexion via CAS" %}</span>
      </div>
    </a>
  </div>

  <div class="tile is-parent">
    <a class="tile is-child notification" href="{% url "authens:login.pwd" %}?next={{ next }}">
      <div class="subtitle has-text-centered mb-2">
        <span class="icon">
          <i class="fas fa-key"></i>
        </span>
        <span class="ml-3">{% trans "Connexion par mot de passe" %}</span>
      </div>
    </a>
  </div>
</div>


{% endblock %}
