{% extends "view_page_detail.html" %} {% load my_tags %} {% block content %}
{% include "detail_breadcrumb.html" %} {% if citationform.errors or sourceform.errors %}

The following fields have errors. Please correct and try again.

{{citationform.errors}}
{{sourceform.errors}}

{% endif %}
{% csrf_token %}

Citation information

{{citationform.text.label}}: {% render citationform.text user action %}
{{citationform.gramps_id.label}}: {% render citationform.gramps_id user action %} {{citationform.private.label}}: {% render citationform.private user action %}
{{citationform.page.label}}: {% render citationform.page user action %}
{{citationform.confidence.label}}: {% render citationform.confidence user action %}
{% note_table citation user action "/note/$act/citation/%s" citation.handle %}
{% citation_reference_table citation user action %}

Note: Any changes in the shared citation information will be reflected in the citation itself, for all items that reference the citation.


Shared source information

{{sourceform.title.label}}: {% render sourceform.title user action %}
{{sourceform.author.label}}: {% render sourceform.author user action %}
{{sourceform.gramps_id.label}}: {% render sourceform.gramps_id user action %} {{sourceform.private.label}}: {% render sourceform.private user action %}
{{sourceform.abbrev.label}}: {% render sourceform.abbrev user action %}
{{sourceform.pubinfo.label}}: {% render sourceform.pubinfo user action %}
{% note_table source user action "/note/$act/source/%s" source.handle %}

Note: Any changes in the shared source information will be reflected in the source itself, for all items that reference the source.


{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Cancel" "/citation/%s" citation.handle %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/citation/" %} {% else %} {% make_button "Add Citation" "/citation/add" %} {% make_button "Edit Citation" "/citation/%s/edit" citation.handle %} {% make_button "Delete Citation" "/citation/%s/delete" citation.handle %} {% endifequal %} {% endif %} {% else %} {% endif %}
{% endblock %}