From 5a30328c63ade0836fc4f25019010a759b9b571f Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Wed, 30 Sep 2015 14:34:04 +0200 Subject: [PATCH] use the widget chill_custom_fields_group_widget for only display active custom fields --- Resources/views/Person/view.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/views/Person/view.html.twig b/Resources/views/Person/view.html.twig index cacd889c0..2d5007ffb 100644 --- a/Resources/views/Person/view.html.twig +++ b/Resources/views/Person/view.html.twig @@ -158,6 +158,7 @@ This view should receive those arguments:
+ {{ chill_custom_fields_group_widget(person.cFData, cFGroup) }} {% for customField in cFGroup.customFields %} {% if customField.type == 'title' %} {{ chill_custom_field_widget(person.cFData , customField) }}