From aa2cdbc4d7b1fc7ff203f00f4842cce6fd352ac7 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 29 Jun 2017 10:01:29 +0200 Subject: [PATCH] Fix #6 --- app/Resources/views/model/detail.html.twig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/Resources/views/model/detail.html.twig b/app/Resources/views/model/detail.html.twig index aeeda30..1b1874e 100644 --- a/app/Resources/views/model/detail.html.twig +++ b/app/Resources/views/model/detail.html.twig @@ -76,20 +76,22 @@
+ {% dump app.request.get('page') %} + {% set related = submodels is not empty or siblings is not empty or model.parents is not empty %}
{% if submodels is not empty or siblings is not empty or model.parents is not empty %} -
+
{% if submodels is not empty %}

Submodels

@@ -131,7 +133,7 @@
{% endif %} -