From 10d2dabced67825df0da7090f09d7c51b8ea9ce0 Mon Sep 17 00:00:00 2001 From: pouanideumassisergebeaujard Date: Tue, 3 Dec 2019 16:27:31 +0100 Subject: [PATCH] Praktikum8 --- news1/templates/registration/login.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 news1/templates/registration/login.html diff --git a/news1/templates/registration/login.html b/news1/templates/registration/login.html new file mode 100644 index 0000000..153a6b7 --- /dev/null +++ b/news1/templates/registration/login.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} +{% block title %} + {% if user.is_authenticated %} +

Abmelden

+ + {% endif %} + + Login +{% endblock %} +{% block content %} +
+ {% csrf_token %} + Benutzername: {{ form.username }}
+ Passwort: {{ form.password }}
+ + +
+{% endblock %} + + +