{% with dropdown_id=instance.pk|cut:"-"|add:field_name %} {% with total=value.items|length %}
0 or value.content %}x-ref="rowDropdown{{ dropdown_id }}" x-on:click="openDropdownId{{ dropdown_id }} = !openDropdownId{{ dropdown_id }}"{% endif %}> {% if total > 0 or value.content %} unfold_more {% endif %} {{ value.title }}
{% if total > 0 or value.content %} {% endif %}
{% endwith %} {% endwith %}