From 7fe8769b66de6169794b5779fb92a3371d559297 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?=
Date: Sun, 15 Nov 2015 21:07:46 +0100
Subject: [PATCH] include forms in the categories cell
---
templates/combo/wcs/form_categories.html | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/templates/combo/wcs/form_categories.html b/templates/combo/wcs/form_categories.html
index a70edc6..1db7a8e 100644
--- a/templates/combo/wcs/form_categories.html
+++ b/templates/combo/wcs/form_categories.html
@@ -6,13 +6,18 @@ Métropole mais aussi celles des différentes communes de la métropole.
{% for slug, categories in form_categories.iteritems %}
{% if slug == 'agglo' %}
-
+
{% if categories.data %}
@@ -26,12 +31,17 @@ Métropole mais aussi celles des différentes communes de la métropole.
{% for slug, categories in form_categories.iteritems %}
{% if categories.title == request.session.mellon_session.city.0 %}
-
+
@@ -63,13 +73,18 @@ Métropole mais aussi celles des différentes communes de la métropole.
{% for slug, categories in form_categories.iteritems %}
{% if categories.title != request.session.mellon_session.city.0 and slug != 'agglo' %}
-