aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates/django.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/templates/django.html')
-rw-r--r--tests/templates/django.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/templates/django.html b/tests/templates/django.html
index 7c52f40..7a5cf38 100644
--- a/tests/templates/django.html
+++ b/tests/templates/django.html
@@ -8,11 +8,10 @@
["{{ modifier.name }}","{{ modifier.description }}"]{% if not forloop.last %},{% endif %}
{% endfor %}
],
- "example_html": "{{ example_html|escapejs }}",
+ "example_html": "{{ section.example|escapejs }}",
"modifier_examples": [
- {% for example in modifier_examples %}
- ["{{ example.modifier.name }}","{{ example.html|escapejs }}"]{% if not forloop.last %},{% endif %}
+ {% for modifier in section.modifiers %}
+ ["{{ modifier.name }}","{{ modifier.example|escapejs }}"]{% if not forloop.last %},{% endif %}
{% endfor %}
- ],
- "escaped_html": "{{ escaped_html|escapejs }}"
+ ]
}