{% extends "admin/core/base.html" %} {% load static %} {% load i18n %} {% load foundation %} {% load field %} {% block title-section %} {% trans 'Add Authors to' %} {{ preprint.title }} {% endblock %} {% block breadcrumbs %} {% include "admin/elements/breadcrumbs/repository_submission.html" with authors=True %} {% endblock %} {% block body %}

{% trans 'Information' %}

  1. {% trans 'You can add yourself as an author using the button below. This will copy metadata from your profile to create a' %} {{ request.repository.object_name }} {% trans 'author record.' %}
  2. {% trans 'You can search the database of existing authors and add them as authors.' %}
  3. {% trans 'You can create a new record for an author using the form below.' %}
{% if not user_is_author %}

{% trans 'Add Self as Author' %}

{% trans 'By default, your account is the owner of this submission, but is not an Author on record. You can add yourself using the button below.' %}

{% csrf_token %}
{% endif %}

{% trans 'Search for an Author' %}

{% trans 'You can search by email or ORCiD. eg. person@example.com or 0000-0003-2126-266X.' %}

{% csrf_token %}
Search

{% trans 'Add an Author' %}

{% trans 'If you cannot find the author record by searching, and you are not the only author, you can add one by clicking the button below. This will open a popup modal for you to complete their details.' %}

{% trans 'Add New Author' %}

{% trans 'Authors' %}

{% trans 'You can reorder the authors by dragging and dropping rows in the table below.' %}

{% csrf_token %} {% for author in preprint.preprintauthor_set.all %} {% empty %} {% endfor %}
{% trans 'Name' %} {% trans 'Email' %} {% trans 'Affiliation' %} {% trans 'Delete' %}
{{ author.account.full_name }} {{ author.account.email }} {{ author.display_affiliation }}
{% trans 'No authors added.' %}

{% trans 'Once you have added all of your authors you can complete this stage.' %}

{% csrf_token %}

 {% trans 'Add New Author' %}

{% include "admin/elements/forms/errors.html" %}
{% csrf_token %} {{ form|foundation }}
{% endblock %} {% block js %} {% if modal %} {% include "admin/elements/open_modal.html" with target=modal %} {% endif %} {% endblock %}