mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
Only display active custom fields in form & view
This commit is contained in:
8
Resources/views/CustomFieldsGroup/render.html.twig
Normal file
8
Resources/views/CustomFieldsGroup/render.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% for customField in cFGroup.activeCustomFields %}
|
||||
{% if customField.type == 'title' %}
|
||||
{{ chill_custom_field_widget(cFData , customField) }}
|
||||
{% else %}
|
||||
<dt>{{ chill_custom_field_label(customField) }}</dt>
|
||||
<dd>{{ chill_custom_field_widget(cFData , customField) }}</dd>
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user