{% extends "samba_home/base/page.html" %} {% comment %} samba2020 - Webpage for https://samba.ccns.sbg.ac.at Copyright (C) 2019-2021 Thomas Hartmann This file is part of samba2020. samba2020 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. samba2020 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with samba2020. If not, see . {% endcomment %} {% load static %} {% load crispy_forms_tags %} {% block body_class %}template-homepage{% endblock %} {% block header %} Log in {% endblock %} {% block content %} {% if form.errors %}

Your username and password didn't match. Please try again.

{% endif %} {% if next and request.user.is_authenticated %}

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

{% endif %}
{% csrf_token %} {{ form|crispy }}
{% endblock content %}