Revised templates

This commit is contained in:
Martin Bley
2022-09-18 13:26:47 +02:00
parent 12323615c7
commit 272498b4ce
4 changed files with 10 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load url from future %}
{% load admin_urls %}
{% comment %}
Main page to authenticate users.
{% endcomment %}
@@ -20,7 +21,7 @@
{% endif %}
<div class="row">
<div class="col-md-3">
<form class="form-signin" role="form" method="post" action="{% url 'django.contrib.auth.views.login' %}">
<form class="form-signin" role="form" method="post" action="{% url 'login' %}">
<h2 class="form-signin-heading">Bitte melde dich an</h2>
{% csrf_token %}
<input class="form-control" type="text" autofocus="" required="" name="{{form.username.html_name}}" placeholder="Anmeldename" />