{% for value, label in action_choices %} {% if value == 'resnapshot_snapshot' or value == 'update_snapshots' or value == 'overwrite_snapshots' %} {% ifchanged 'rearchive' %} {% endifchanged %} {% elif value == 'set_crawl_permissions' or value == 'set_snapshot_permissions' %} {% elif value == 'move_to_folder' %} {% elif value == 'merge_tags' %} {% elif value and value != 'add_tags' and value != 'remove_tags' %} {% endif %} {% endfor %}