{% extends 'basedocumentation.html' %} {% block extra_extra_head %} {{ block.super }} {{ form.media.css }} {{ form.media.js }} {% endblock %} {% block doccontent %} {% if admin %} {% if edition.pk %}

Edit Edition for {{ edition.work.title }}

{% else %}

Create New Edition

{% endif %}

Title is required; the rest is optional, though a cover image is strongly recommended.

{% if alert %} {% endif %}
{% csrf_token %} {{ form.work }} {{ form.non_field_errors }}

Title: {{ form.title.errors }}{{ form.title }}

Publisher Name : {{ form.publisher_name.errors }}{{ form.publisher_name }}
(If you change this, click another form element before submitting)

Authors: {% if edition.pk and edition.relators or edition.new_authors %}

{% else %} (None listed) {% endif %}

Add a Creator (Firstname Lastname): {{ form.add_author.errors }}{{ form.add_author }}{{ form.add_author_relation.errors }}{{ form.add_author_relation }}

Language: {{ form.language.errors }}{{ form.language }}

{% if edition.pk %}

Add a Related Work: {{ form.add_work_relation.errors }}{{ form.add_work_relation }} of {{ form.add_related_work.errors }}{{ form.add_related_work }}

{% endif %}

Age Level: {{ form.age_level.errors }}{{ form.age_level }}

Edition Note: {{ form.note.errors }}{{ form.note }}

Identifiers

{% if edition.work.work_ids %}

For the Work:

{% endif %} {% if edition.identifiers.all %}

For the Edition:

{% endif %}

Add/Change an Identifier (Enter 'delete' to remove it).

{{ form.id_value.errors }} {{ identform.id_type }} {{ identform.id_value}}

Description:
{{ form.description.errors }}{{ form.description }}
({% if work.last_campaign %} {% ifequal work.last_campaign.type 3 %} This will appear in the Description tab on the book page. {% else %} The campaign pitch will override this description. {% endifequal %} {% else %} This will appear in the Description tab on the book page. {% endif %} )

Publication Date (four-digit year): {{ form.publication_date.errors }}{{ form.publication_date }}

Subjects:

Add a Subject: {{ form.add_subject.errors }}{{ form.add_subject }} Add Subject

Add BISAC Subject:

Cover Image:
{% if edition.cover_image %}
{% else %} [ no cover specified for this edition ]
{% endif %} {{ form.cover_image.errors }}{{ form.cover_image }}{{ form.cover_image.help_text }} (Enter a URL for an image, at least 300 px wide. The image will be scaled to the proportions of a 6x9 cover. )
OR...
{{ form.coverfile.errors }}{{ form.coverfile }}{{ form.coverfile.help_text }} (upload a cover image file (we'll automatically size if for you). )

{% with edition.work as work %} {% include 'ebook_list.html' %} {% endwith %}
{% if edition.work %}

More Edition Management

Merge other works into this one
Remove editions from this work
{% if edition.id %}
Add ebooks for this edition
{% endif %} {% if request.user.is_staff %}
Feature this work today
{% endif %}
{% endif %} {% else %} {% if edition.work %} {% include 'edition_display.html' %} {% else %} Sorry, there's no work specified. {% endif %} {% endif %} {% endblock %}