{% if cfield_data.items|length > 0 %}
  <div class="castorcito--field-container castorcito--field">
    {% for field_item in cfield_data.items %}
      <div class="castorcito--field-container-item">
        {% for cfield_key,cfield in field_item.fields %}
          {% if cfield.value is not empty%}
            {% embed cfield_plugins[cfield.type].module_name ~ ':castorcito_' ~ cfield.type with {
              cfield_data: cfield,
              cfield_display_settings: cfield_display_settings[field_item.type].cfields[cfield_key]
            } %}
            {% endembed %}
          {% endif %}
        {% endfor %}
      </div>
    {% endfor %}
  </div>
{% endif %}
