{% if component_data.fields|length > 0 %}
  <div{{ attributes }}>
    {% for key,field in component_data.fields %}
      {% if field is not empty%}
        {% embed cfield_plugins[field.type].module_name ~ ':castorcito_' ~ field.type with {
          cfield_data: field,
          cfield_display_settings: display_settings.cfields[key]
        } %}
        {% endembed %}
      {% endif %}
    {% endfor %}
  </div>
{% endif %}
