summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-10-14 18:27:46 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-10-14 18:33:58 (GMT)
commit8604071b1dd326c26cce43624635bbbbbfbebe19 (patch)
treef2d7a2481aa94c9110a07197d4b0be6aefc5eb2c
parentd09c717c8f5ff03ac8e6ca9fa9613a60ada5b25d (diff)
downloadmontpellier-themes-8604071b1dd326c26cce43624635bbbbbfbebe19.zip
montpellier-themes-8604071b1dd326c26cce43624635bbbbbfbebe19.tar.gz
montpellier-themes-8604071b1dd326c26cce43624635bbbbbfbebe19.tar.bz2
adapt categories cell template to new context (#13616)v0.36
-rw-r--r--templates/combo/wcs/form_categories.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/combo/wcs/form_categories.html b/templates/combo/wcs/form_categories.html
index 87e483a..5e5ac7a 100644
--- a/templates/combo/wcs/form_categories.html
+++ b/templates/combo/wcs/form_categories.html
@@ -10,7 +10,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<h3><a href="{{ categories.base_url }}tryauth">Démarches de la Métropole</a></h3>
{% if categories.data %}
<ul>
- {% for category in categories.data.data %}
+ {% for category in categories.data %}
<li class="category-{{category.slug}}" data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>
@@ -35,7 +35,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<div class="ma_commune categories-list">
<h3><a href="{{ categories.base_url }}tryauth">Démarches de ma commune : {{ request.session.mellon_session.city.0 }}</a></h3>
<ul>
- {% for category in categories.data.data %}
+ {% for category in categories.data %}
<li class="category-{{category.slug}}" data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>
@@ -79,7 +79,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<h3><a href="{{ categories.base_url }}tryauth">Démarches de {{ categories.title }}</a></h3>
{% if categories.data %}
<ul>
- {% for category in categories.data.data %}
+ {% for category in categories.data %}
<li class="category-{{category.slug}}" data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
<ul>