From 395c41114999c667f8cb0f6bbd4219c8174c7d93 Mon Sep 17 00:00:00 2001 From: Ivan Kaziev Date: Tue, 16 Apr 2024 17:04:46 +0300 Subject: [PATCH] Create registration, login and profile forms --- CineSync/templates/includes/footer.html | 0 CineSync/templates/includes/form.html | 17 +++++++++++++++++ CineSync/templates/includes/header.html | 0 3 files changed, 17 insertions(+) create mode 100644 CineSync/templates/includes/footer.html create mode 100644 CineSync/templates/includes/form.html create mode 100644 CineSync/templates/includes/header.html diff --git a/CineSync/templates/includes/footer.html b/CineSync/templates/includes/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/CineSync/templates/includes/form.html b/CineSync/templates/includes/form.html new file mode 100644 index 0000000..e6f62f7 --- /dev/null +++ b/CineSync/templates/includes/form.html @@ -0,0 +1,17 @@ +{% if echo %} +
+{% else %} + +{% endif %} +{% csrf_token %} +{% for field in form.visible_fields %} +
+ + {{ field }} + {% if field.help_text %} +
{{ field.help_text }}
+ {% endif %} +
+ {% endfor %} + +
diff --git a/CineSync/templates/includes/header.html b/CineSync/templates/includes/header.html new file mode 100644 index 0000000..e69de29