<div class="footer-socials">
<ul class="list-unstyled footer-socials__list">
{% for i in pimcore_iterate_block(pimcore_block('footerSocials')) %}
<li>
{% if editmode %}
<div class="editmode-box editmode-box--info">
{{ pimcore_select('icon', {store: getSocialIcons()}) }}: {{ pimcore_input('link') }}
</div>
{% elseif not pimcore_input('link').empty %}
<a href="{{ pimcore_input('link') }}" target="_blank" class="footer-socials__item gtm-track-{{ pimcore_select('icon').data }}-button">
<span class="icon icon-{{ pimcore_select('icon').data }}" aria-label="{{ pimcore_select('icon').data }}" title="{{ pimcore_select('icon').data }}"></span>
</a>
{% endif %}
</li>
{% endfor %}
</ul>
</div>