{% extends 'admin/base_site.html' %} {% load i18n grp_tags %} {# Adapts Grappelli form styles for use in an intermediate view #} {% block title %} Bulk Add to Collections | {% get_site_title %} {% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block content_title %}

Add Digitized Works to Collections

{% endblock %} {% block content %} {% if object_list %}
{% csrf_token %} {% if errors %}

{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

{% endif %}
{{ form.collections.label_tag|prettylabel }}
{{ form.collections }} {% if form.collections.help_text %} {{ form.collections.help_text }} {% endif %}
{% if form.collections.errors %} {{ form.collections.errors }} {% endif %}

The following items will be added to the selected collections:

{% for object in object_list %} {% endfor %}
Title HathiTrust ID
{{ object.title }} {{ object.source_id }}
{# inline CSS here for spacing for a single exception #} {% else %}

Please select digitized works from the admin interface.

{% endif %} {% endblock %}