{% block content %}

Vote4Film - Login

{% 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. {% else %}

Please login to see this page.

{% endif %} {% else %} {% if user.is_authenticated %}

You are already logged in, return the app. {% endif %} {% endif %}

{% csrf_token %} {{ form.as_p }}
{% comment %} {# Assumes you setup the password_reset view in your URLconf #}

Lost password? {% endcomment %} {% endblock %}