Debug : removing old code (that is now in chill_custom_fields_group_widget)

This commit is contained in:
Marc Ducobu 2015-09-30 14:35:39 +02:00
parent 5a30328c63
commit e73cd3987a

View File

@ -159,14 +159,6 @@ This view should receive those arguments:
<div class="grid-6">
<figure class="person-details">
{{ chill_custom_fields_group_widget(person.cFData, cFGroup) }}
{% for customField in cFGroup.customFields %}
{% if customField.type == 'title' %}
{{ chill_custom_field_widget(person.cFData , customField) }}
{% else %}
<dt>{{ chill_custom_field_label(customField) }} :</dt>
<dd>{{ chill_custom_field_widget(person.cFData , customField) }}</dd>
{% endif %}
{% endfor %}
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
{{ include(edit_tmp_name, edit_tmp_args) }}