{% if filter %} {% endif %} {% for action in table_actions %} {% if action != filter %} {% if action.method != "GET" %} {% else %} {{ action.verbose_name }} {% endif %} {% endif %} {% endfor %}