fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7bc61c0
)
Form thank you
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 28 Oct 2022 09:02:05 +0000
(11:02 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 28 Oct 2022 09:02:05 +0000
(11:02 +0200)
src/wolnelektury/templates/forms/form_sent.html
patch
|
blob
|
history
diff --git
a/src/wolnelektury/templates/forms/form_sent.html
b/src/wolnelektury/templates/forms/form_sent.html
index
dbed3ce
..
1a8007f
100644
(file)
--- 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 forms_builder_tags %}
+{% load title %}
+{% load i18n %}
+
+{% block settings %}
+ {% title form.title %}
+{% endblock %}
+
+{% block breadcrumbs %}
+ <a href="{{ form.get_absolute_url }}"><span>{{ form.title }}</span></a>
+ <span>{% trans "Thank you" %}</span>
+{% endblock %}
{% block title %}{{ form.title }}{% endblock %}
{% block title %}{{ form.title }}{% endblock %}
+
{% block body %}
<h1>{{ form.title }}</h1>
<p>{{ form.response }}</p>
{% block body %}
<h1>{{ form.title }}</h1>
<p>{{ form.response }}</p>