aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates')
-rw-r--r--testing/templates/render_in_place.html6
-rw-r--r--testing/templates/render_in_place_sec1.html2
-rw-r--r--testing/templates/render_in_place_sec2.html2
3 files changed, 10 insertions, 0 deletions
diff --git a/testing/templates/render_in_place.html b/testing/templates/render_in_place.html
new file mode 100644
index 0000000..3dff36c
--- /dev/null
+++ b/testing/templates/render_in_place.html
@@ -0,0 +1,6 @@
+Section 1: {{ s1.render().unwrap() }}
+Section 2: {{ s2.render().unwrap()|safe }}
+Section 3 for:
+{% for s in s3.as_slice() -%}
+* {{ s.render().unwrap() }}
+{% endfor %}
diff --git a/testing/templates/render_in_place_sec1.html b/testing/templates/render_in_place_sec1.html
new file mode 100644
index 0000000..75f9fd6
--- /dev/null
+++ b/testing/templates/render_in_place_sec1.html
@@ -0,0 +1,2 @@
+A={{ a }}
+B={{ b }}
diff --git a/testing/templates/render_in_place_sec2.html b/testing/templates/render_in_place_sec2.html
new file mode 100644
index 0000000..2a0ae21
--- /dev/null
+++ b/testing/templates/render_in_place_sec2.html
@@ -0,0 +1,2 @@
+C={{ c }}
+D={{ d }}