{% load core_tags %} {% for value, label in action_choices %} {% if value == 'crawl_outlinks' or 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' %} {% include "core/record_picker.html" with name="folder_destination" css_class="action-folder-select" label="Move to folder" kind="folder" destination=True placeholder="Move" empty_label="No folder" %} {% elif value == 'merge_tags' %} {% elif value and value != 'add_tags' and value != 'remove_tags' %} {% endif %} {% endfor %}