{% extends "base.html" %} {% load i18n %} {% block head_title %} {% trans "Login" %} {% endblock head_title %} {% load umap_tags i18n %} {% block extra_head %} {% umap_css %} {{ block.super }} {% endblock extra_head %} {% block body_class %} login {% endblock body_class %} {% block content %} {% include "umap/branding.html" %} {% trans "To save and easily find your maps, identify yourself." %} {% if ENABLE_ACCOUNT_LOGIN %} {% trans "Please log in with your account:" %} {% if form.non_field_errors %} {% for error in form.non_field_errors %} {{ error }} {% endfor %} {% endif %} {% csrf_token %} {{ form.username.errors }} {{ form.password.errors }} {% endif %} {% if backends.backends|length %} {% trans "Please choose a provider:" %} {% for name in backends.backends %} {% endfor %} {% endif %} {% endblock content %}