include data attribute with categories keywords so they can get filtered

This commit is contained in:
Frédéric Péters 2015-11-15 19:26:31 +01:00
parent 28de55484f
commit 5f64873537
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
{% if categories.data %}
<ul>
{% for category in categories.data.data %}
<li>
<li data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
</li>
{% endfor %}
@ -30,7 +30,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
<h3><a href="{{ categories.base_url }}auth">Démarches de ma commune : {{ request.session.mellon_session.city.0 }}</a></h3>
<ul>
{% for category in categories.data.data %}
<li>
<li data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
</li>
{% endfor %}
@ -68,7 +68,7 @@ Métropole mais aussi celles des différentes communes de la métropole.</p>
{% if categories.data %}
<ul>
{% for category in categories.data.data %}
<li>
<li data-keywords="{{category.keywords|join:' '}}">
<a href="{{ category.url }}tryauth">{{ category.title }}</a>
</li>
{% endfor %}