From b149b85f53a4df0599c95e510f0804c68fbdd974 Mon Sep 17 00:00:00 2001 From: mtyton Date: Fri, 13 Oct 2023 20:58:49 +0200 Subject: [PATCH] Basic forms has been implemented --- artel/artel/templates/base.html | 2 +- artel/dynamic_forms/forms.py | 33 +++++++++++++++--- artel/dynamic_forms/models.py | 34 +++++++++++++++---- .../templates/forms/email_form_page.html | 15 ++++++-- .../forms/email_form_page_landing.html | 25 ++++++++++++++ .../store/templates/store/order_success.html | 2 +- 6 files changed, 95 insertions(+), 16 deletions(-) create mode 100644 artel/dynamic_forms/templates/forms/email_form_page_landing.html diff --git a/artel/artel/templates/base.html b/artel/artel/templates/base.html index c1adbbc..617f252 100644 --- a/artel/artel/templates/base.html +++ b/artel/artel/templates/base.html @@ -67,7 +67,7 @@
- {% if page %} + {% if page and page.get_translations.live %}