{% load compress widgy_tags %} {% for owner in owners %} {% get_action_links owner node as links %} {% for link in links %} {% if link.type == 'preview' %} {{ link.text }} {% endif %} {% endfor %} {% endfor %} {% compress css %} {% endcompress %}