{% extends 'scipost/base.html' %} {% block pagetitle %}: add author to publication{% endblock pagetitle %} {% block headsup %} {% load scipost_extras %} {% endblock headsup %} {% block bodysup %}

Add author to publication

{{ publication.details }}

Add an (unregistered) author

Current list of authors as contributors:

{% for author in publication.authors.all %} {{ author.user.first_name }} {{ author.user.last_name }}  {% endfor %}

Current list of additional authors (unregistered):

{% for author in publication.authors_unregistered.all %} {{ author }} {% endfor %}

Search for missing author:

{% csrf_token %} {{ form.as_p }}
{% if contributors_found %}

Identified as contributor:

{% for contributor in contributors_found %} {% endfor %}
{{ contributor.user.first_name }} {{ contributor.user.last_name }}  Add this Contributor as author of this Publication
{% elif form.has_changed %}

No Contributor with this name could be identified.

{% endif %}
{% if unregistered_authors_found %}

Identified as existing unregistered author:

{% for unreg_auth in unregistered_authors_found %} {% endfor %}
{{ unreg_auth }}  Add this unregistered author as author of this Publication
{% elif form.has_changed %}

No UnregisteredAuthor with this name could be found in the database.

{% endif %}

You can otherwise create an UnregisteredAuthor object instance and link it to this publication:

{% csrf_token %} {{ new_unreg_author_form.as_p }}

Return to the publication's page

{% endblock bodysup %}