{% extends "base.html" %} {% macro form_field_errors(field) -%} {% if field.errors %}
{% for err in field.errors %} {{ err }} {% endfor %}
{% endif %} {%- endmacro %} {% macro form_field_basic(field, div_classes="") -%}
{{ field.label }} {{ field() }} {{ form_field_errors(field) }}
{%- endmacro %} {% macro form_field_inline(field, div_classes="") -%}
{{ field.label }}
{{ field() }} {{ form_field_errors(field) }}
{%- endmacro %} {% block body %}

Create New Release Entity

{{ form.hidden_tag() }}

Editgroup Meta

{% if editgroup_id %}

You have an editgroup in progress, and this edit will be included by default. You can override this below. {% else %}

No existing editgroup is in progress (or at least, not is selected). An existing ID can be pasted in, or if you leave that blank but give a description, a new editgroup will be created for this edit. {% endif %} {{ form_field_inline(form.editgroup_id) }} {{ form_field_inline(form.editgroup_description) }}


The Basics

{{ form_field_basic(form.release_type, "required") }} {{ form_field_basic(form.release_status) }}
{{ form_field_inline(form.title, "required") }} {{ form_field_inline(form.original_title) }} {{ form_field_inline(form.work_id) }} {{ form_field_inline(form.release_date) }}
{{ form_field_basic(form.language) }} {{ form_field_basic(form.license_slug) }}

Contributors

{% for cform in form.contribs %}
{{ cform.role }}
{{ cform.raw_name}}
{% endfor %}



Identifers


{{ form_field_inline(form.doi) }} {{ form_field_inline(form.wikidata_qid) }} {{ form_field_inline(form.isbn13) }}
{{ form_field_basic(form.pmid) }} {{ form_field_basic(form.pmcid) }}

Container


{{ form_field_inline(form.container_id) }} {{ form_field_inline(form.publisher) }}
{{ form_field_basic(form.pages) }} {{ form_field_basic(form.volume) }} {{ form_field_basic(form.issue) }}


Submit

{{ form_field_basic(form.edit_description) }} This description will be attached to this specific action, not to the editgroup as a whole.

{% endblock %} {% block postscript %} {% endblock %}