{% 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 %}
{% media_table citation user action "/media/$act/citation/%s" citation.handle %}
{% data_table citation user action "/data/$act/citation/%s" citation.handle %}
{% citation_reference_table citation user action %}
{% history_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.


Source information (shared)

{{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 %}
{% media_table source user action "/media/$act/source/%s" source.handle %}
{% repository_table source user action "/repository/$act/source/%s" source.handle %}
{% citation_reference_table source user action %}
{% history_table source user action %}

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 args %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/citation/" args %} {% else %}
{% make_button "+Add Citation" "/citation/add" args %} {% make_button "?Edit Citation" "/citation/%s/edit" citation.handle args %} {% make_button "-Delete Citation" "/citation/%s/delete" citation.handle args %}
{% endifequal %} {% endif %} {% else %} {% endif %}
{% endblock %}