{% extends 'registration/base.html' %} {% block body %}

Log in to YANG Suite

{% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% 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 access this page.

{% endif %} {% endif %}
{% csrf_token %}
{{ form.username.label_tag }} {{ form.username }}
{{ form.password.label_tag }} {{ form.password }}

{% if registration_open %}
Not registered ?  Create an account.
{% endif %}
{% endblock body %}