{% for value, label in action_choices %}
{% if value == 'resnapshot_snapshot' or value == 'update_snapshots' or value == 'overwrite_snapshots' %}
{% ifchanged 'rearchive' %}
{% include "admin/action_icon.html" with action="rearchive" %}Re-Archive ▾
{% endifchanged %}
{% elif value == 'set_crawl_permissions' or value == 'set_snapshot_permissions' %}
{% include "admin/action_icon.html" with action=value %}{{ label }}
{% elif value == 'move_to_folder' %}
{% include "admin/action_icon.html" with action=value %}Move to folder ▾
{% elif value == 'merge_tags' %}
{% elif value and value != 'add_tags' and value != 'remove_tags' %}
{% endif %}
{% endfor %}