From edaabc5724c8e1c5ffdd0cc2eea76459f9090a84 Mon Sep 17 00:00:00 2001 From: max/sooulix Date: Mon, 15 Jul 2024 11:01:34 +0200 Subject: [PATCH] wip --- port/templates/new_stay/new_stay-1.html | 7 ++++++- port/templates/new_stay/new_stay-2.html | 1 + port/urls/index.py | 1 + port/views/index.py | 27 +++++++++++++++++++------ 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/port/templates/new_stay/new_stay-1.html b/port/templates/new_stay/new_stay-1.html index ec05283..f0989ba 100644 --- a/port/templates/new_stay/new_stay-1.html +++ b/port/templates/new_stay/new_stay-1.html @@ -17,8 +17,13 @@ {% endif %} {% endblock %} {% block formnew %} -
+ + {% csrf_token %} + {% if insurance is None %} +
+ {% else %} diff --git a/port/templates/new_stay/new_stay-2.html b/port/templates/new_stay/new_stay-2.html index 7d3a33e..80e1c86 100644 --- a/port/templates/new_stay/new_stay-2.html +++ b/port/templates/new_stay/new_stay-2.html @@ -40,6 +40,7 @@ {% endblock %} {% block formnew %} + {% csrf_token %}