{#- Public display of a contact_point_ids-style multi field: name plus contact details, one block per contact point, never raw ids. See helpers.contactpoints_display. -#} {%- set contact_points = h.contactpoints_display(data[field.field_name]) -%} {%- for cp in contact_points %}
{{ cp.name }} {%- if cp.email %}
{{ cp.email }}{% endif -%} {%- if cp.phone %}
{{ cp.phone }}{% endif -%} {%- if cp.url %}
{% if h.is_url(cp.url) %}{{ cp.url }}{% else %}{{ cp.url }}{% endif %}{% endif -%}
{%- endfor -%}