{% extends "account/base.html" %} {% load i18n %} {% load widget_tweaks %} {% load account socialaccount %} {% block head_title %} {% translate "Sign in" %} {% endblock %} {% block whitebox %}

Sign in

{% csrf_token %} {% include "account/_non_field_errors.html" %} {% for field in form.visible_fields %} {% if field.name != "remember" %}
{{ field|add_label_class:"font-semibold text-xs" }} {% if field.errors %} {% render_field field class="flex items-center w-64 h-12 px-4 pb-2 mt-2 border-red-500 rounded focus:outline-none focus:ring-2" %} {% else %} {% render_field field class="flex items-center w-64 h-12 px-4 pb-2 mt-2 rounded focus:outline-none focus:ring-2" %} {% endif %} {% for error in field.errors %} {{ error }} {% endfor %}
{% endif %} {% endfor %} {% translate "Login" as login_text %} {% include "account/_button.html" with text=login_text %}
{% translate "Forgot Password" %} / {% translate "Sign Up" %}
{% if redirect_field_value %} {% endif %}
{% get_providers as socialaccount_providers %} {% if socialaccount_providers %}

OR

{% translate "Sign in with a third party" %}

{% include "socialaccount/snippets/provider_list.html" with process="login" %} {% endif %} {% include "socialaccount/snippets/login_extra.html" %} {% endblock %}