{% load admin_tags %}
{% for op, action in action_dict.items %} {% if action|can_apply:item %} {{ action.name|safe }} {% endif %} {% endfor %}