{% extends "wagtailadmin/login.html" %} {% load static i18n wagtailadmin_tags %} {% block titletag %}{% trans "Sign in" %}{% endblock %} {% block bodyclass %}login{% endblock %} {# Have to change the whole furniture block because there is not other way to change the error messages for e.g captcha #} {% block furniture %}

{% block branding_login %}{% trans "Sign in to WaggyLabs" %}{% endblock %}

{# Always show messages div so it can be appended to by JS #} {% if messages or form.errors %} {% endif %}
{% block above_login %}{% endblock %}
{% block login_form %} {% csrf_token %} {% url 'wagtailadmin_home' as home_url %} {% block fields %} {% formattedfield form.username %} {% formattedfield form.password %} {% if show_password_reset %} {% trans "Forgotten password?" %} {% endif %} {% block extra_fields %} {% for field_name, field in form.extra_fields %} {% formattedfield field %} {% endfor %} {% endblock extra_fields %} {% include "wagtailadmin/shared/forms/single_checkbox.html" with label_classname="remember-me" name="remember" text=_("Remember me") %} {% endblock %} {% endblock %}
{% block submit_buttons %} {% endblock %}
{% block below_login %}{% endblock %} {% block branding_logo %} {% endblock %}
{% endblock %} {% block extra_js %} {% endblock extra_js %} {# For not changing svg file breaks small icon when sidebar is collapsed #} {% comment %} {% block branding_logo %} {% endblock %} {% block branding_login %}Sign in to WaggyLabs{% endblock %} {% endcomment %}