{% extends 'main/layout.html' %} {% block title %}Log in{% endblock %} {% block head_viewport %} {% endblock %} {% block content %}
{% if next %} {% if user.is_authenticated %}

Your account doesn't have access to this page. To proceed please login with an account that has access.

{% endif %} {% endif %}

Log in

{{ form.non_field_errors }}

{% if form.username.errors %} {% for error in form.username.errors %} {{ error|escape }}
{% endfor %} {% endif %} {{ form.username }} This is your blog subdomain.

{% if form.password.errors %} {% for error in form.password.errors %} {{ error|escape }}
{% endfor %} {% endif %} {{ form.password }} {{ form.password.help_text }}

{% csrf_token %}

Forgot password?

{% endblock %}