<!--
    Copyright (C) 2018 Intel Corporation

    SPDX-License-Identifier: MIT
-->
{% extends "auth_base.html" %}

{% block title %}Login{% endblock %}

{% block content %}
	<h1>Login</h1>
	{% if form.errors %}
		<small>Your username and password didn't match. Please try again.</small>
	{% endif %}
	<form method="post" action="{% url 'login' %}">
		{% csrf_token %}
		{% for field in form %}
			{{ field }}
		{% endfor %}
		<input type="hidden" name="next" value="{{ next }}" />
		<button type="submit" class="btn btn-primary btn-block btn-large">Login</button>
	</form>
{% endblock %}

{% block note%}
    {% autoescape off %}
	{{ note }}
    {% endautoescape %}
{% endblock %}