{% autoescape None %} {% extends "gramps-base.html" %} {% block title %}{{sitename}}: {{opts.database}}, {{tview}} {% end %} {% block heading %}{{sitename}}: {{opts.database}}, {{tview}} {% end %} {% block content %}
{% include "detail_breadcrumb.html" %}
{% if messages %}

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

{# personform.errors #} {# nameform.errors #} {# surnameform.errors #} {# logform.errors #}

{% end %} {# Gramps ID: N0001 Type: General Private: False Tags: Citation: #} {% module xsrf_form_html() %}
{{ form.get_label("gramps_id") }}: {{ form.render("gramps_id", user, action) }}
{{ form.get_label("private") }}: {{ form.render("private", user, action) }} {{ form.get_label("tag_list") }}: {{ form.render("tag_list", user, action) }}
{% if logform %} {# logform.as_table #}
{% end %} {% if user %} {% if action == "edit" %} {% if form.instance.handle %} {{make_button(_("Cancel"), "/citation/" + form.instance.handle)}} {% else %} {{make_button(_("Cancel"), "/citation")}} {% end %} {% else %} {% if action == "add" %} {{ make_button(_("Cancel"), "/citation/") }} {% else %}
{{ make_icon_button(_("Add Citation"), "/citation/add", icon="+") }} {{ make_icon_button(_("Edit Citation"), "/citation/%(handle)s/edit", icon="?", handle=form.get("handle")) }} {{ make_icon_button(_("Delete Citation"), "/citation/%(handle)s/delete", icon="-", handle=form.get("handle")) }}
{% end %} {% end %} {% else %} {% end %}
{% end %}