datatracker/ietf/templates/submit/submitter_form.html
Ole Laursen 90051a1575 Add support for displaying and editing author affiliation and country
when submitting a draft, replace the Submission.authors line-based
text field with a JSON field
 - Legacy-Id: 12745
2017-01-27 16:10:31 +00:00

25 lines
849 B
HTML

{# Copyright The IETF Trust 2015, All Rights Reserved #}{% load origin %}{% origin %}
{% load bootstrap3 %}
<p>
If you are one of the authors, please click the button below
with your name on it to automatically fill in the
submitter information. Otherwise,
please manually enter your name and email address.
</p>
{% load ietf_filters %}
{% buttons %}
{% for author in submission.authors %}
<input type="button" class="author btn btn-default" data-name="{{ author.name }}" data-email="{% if author.email %}{{ author.email }}{% endif %}" value="{{ author.name }}">
{% endfor %}
{% endbuttons %}
{% bootstrap_form_errors submitter_form %}
{% bootstrap_field submitter_form.name %}
{% bootstrap_field submitter_form.email %}
{% if user|has_role:"Secretariat" %}
{% bootstrap_field submitter_form.approvals_received %}
{% endif %}