From d74aca91c689b54b7b49bbfa7121f458f4caf751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalevi=20Yyp=C3=A4naho?= Date: Mon, 27 Nov 2023 20:35:57 +0200 Subject: Adding csrf to templates. --- templates/analyse.html | 6 ++++++ templates/answer.html | 2 ++ templates/base.html | 1 + templates/create.html | 2 ++ templates/question.html | 1 + 5 files changed, 12 insertions(+) (limited to 'templates') diff --git a/templates/analyse.html b/templates/analyse.html index b7139e4..6dcc1be 100644 --- a/templates/analyse.html +++ b/templates/analyse.html @@ -26,6 +26,7 @@ Tutkit kyselmää: {{ code }} {% endif %} {% endfor %} + @@ -60,6 +61,7 @@ Tutkit kyselmää: {{ code }}
+
@@ -67,6 +69,7 @@ Tutkit kyselmää: {{ code }}
+
@@ -74,6 +77,7 @@ Tutkit kyselmää: {{ code }}
+
@@ -81,6 +85,7 @@ Tutkit kyselmää: {{ code }}
+
@@ -93,6 +98,7 @@ Tutkit kyselmää: {{ code }} Vaihda kyselyn koodia: + diff --git a/templates/answer.html b/templates/answer.html index 6231785..4bf61d3 100644 --- a/templates/answer.html +++ b/templates/answer.html @@ -18,6 +18,7 @@ Vastaa kyselmään "{{ link }}": {% endfor %} + @@ -28,6 +29,7 @@ Vastaa kyselmään "{{ link }}": Vastaa kyselyyn koodilla: + diff --git a/templates/base.html b/templates/base.html index f38eb12..e47e643 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,7 @@ Anna itsellesi nimimerkki ensin: + {% endif %} diff --git a/templates/create.html b/templates/create.html index 21520b5..eb4bccd 100644 --- a/templates/create.html +++ b/templates/create.html @@ -25,6 +25,7 @@
+
@@ -34,6 +35,7 @@ {% else %}
+
diff --git a/templates/question.html b/templates/question.html index 62afaaf..76cba79 100644 --- a/templates/question.html +++ b/templates/question.html @@ -12,6 +12,7 @@ +
-- cgit v1.2.3