From c6537f136f4ec0230f5e7c71dd1abf9616151a47 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 28 Oct 2022 11:02:05 +0200 Subject: [PATCH 1/1] Form thank you --- src/wolnelektury/templates/forms/form_sent.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/wolnelektury/templates/forms/form_sent.html b/src/wolnelektury/templates/forms/form_sent.html index dbed3ce74..1a8007f31 100644 --- a/src/wolnelektury/templates/forms/form_sent.html +++ b/src/wolnelektury/templates/forms/form_sent.html @@ -1,8 +1,20 @@ -{% extends form.base_template|default:"base/base.html" %} +{% extends form.base_template|default:request.EXPERIMENTS.layout.value|yesno:"2022/base_simple.html,base/base.html" %} {% load forms_builder_tags %} +{% load title %} +{% load i18n %} + +{% block settings %} + {% title form.title %} +{% endblock %} + +{% block breadcrumbs %} + {{ form.title }} + {% trans "Thank you" %} +{% endblock %} {% block title %}{{ form.title }}{% endblock %} + {% block body %}

{{ form.title }}

{{ form.response }}

-- 2.20.1