
{% extends "wagtailadmin/login.html" %}
{% load custom_tags %}
{% load i18n %}
{% load allauth %}
{% load socialaccount %}

{% block css %}
{{ block.super }}
<style>
  .auth0-login {
  width: 100%;
  height: 3em;
}
</style>
{% endblock %}


{% block above_login %}
  {% element form action="/accounts/auth0/login/?process=login" method="post" no_visible_fields=True %}
    {% slot actions %}
        {% csrf_token %}
        <button type="submit" class="auth0-login">Sign in with Auth0</button>
    {% endslot %}
  {% endelement %}
  <br>
{% endblock %}