{% extends 'cv/base.html' %} {% load widget_tweaks %} {% block styles %} label.formset-label { width:25%; } input[type=text] { width:75%; } {% endblock %} {% block centerbar %}

{{method}} {{model|title}}

{% csrf_token %}
{% with form.title as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} {% with form.short_title as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} {% with form.slug as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} {% with form.display as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %}
{% with form.abstract as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} Use Markdown syntax: e.g., **bold**, *italics*, `code`, [link text]<url>
Grant information
{% with form.grants as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} {% with form.pmcid as field %}{% with noprinthelp=True %} {% include "cv/forms/_publication_field.html" %} {% endwith %}{% endwith %} {% with form.pmid as field %}{% with noprinthelp=True %} {% include "cv/forms/_publication_field.html" %} {% endwith %}{% endwith %} {% if form.pmid or form.pmcid %} For information on the above see explanation from NIH {% endif %}
Disciplinary information
{% with form.primary_discipline as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %} {% with form.other_disciplines as field %} {% include "cv/forms/_publication_field.html" %} {% endwith %}
Presentations
{{presentation_formset.management_form}} {{presentation_formset.non_form_errors}} {% for presentation_form in presentation_formset %} {% for field in presentation_form.visible_fields %} {% spaceless %} {% endspaceless %} {% if field.errors %} {% render_field field class="form-control form-control-sm is-invalid" %} {% for error in field.errors %} {{error}} {% endfor %} {% else %} {{field}} {% endif %} {% endfor %} {% endfor %}
Cancel {% if method == "Edit" %} {% endif %}
{% endblock centerbar %} {% block endscripts %} {{block.super}} {% endblock %}