{% extends "view_page_detail.html" %} {% load my_tags %} {% block content %}
{% include "detail_breadcrumb.html" %}
{% comment %} 5 cols {% endcomment %} {% if personform.errors or nameform.errors or surnameform.errors %}

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

{{personform.errors}} {{nameform.errors}} {{surnameform.errors}}

{% endif %} {% csrf_token %}
{{nameform|render_name:user}} {{nameform.name_type.label}}: {% render nameform.name_type user action %}
{{nameform.title.label}}: {% render nameform.title user action False "" "get_focus" %} {{nameform.nick.label}}: {% render nameform.nick user action %} {{nameform.call.label}}: {% render nameform.call user action %}
{{nameform.first_name.label}}: {% render nameform.first_name user action %} {% render nameform.suffix user action %}
{{surnameform.surname.label}}: {% render surnameform.prefix user action %} {% render surnameform.surname user action %} {{surnameform.name_origin_type.label}}: {% render surnameform.name_origin_type user action %}
{{personform.gender_type.label}}: {% render personform.gender_type user action %} {{personform.gramps_id.label}}: {% render personform.gramps_id user action %} {{personform.tags.label}}: {% render personform.tags user action %}
{{personform.private.label}}: {% render personform.private user action %}
{% event_table person user action "/event/add/person/%s" person.handle %}
{% name_table person user action "/person/%s/name" person.handle %}
{% citation_table person user action "/citation/add/person/%s" person.handle %}
{% attribute_table person user action "/person/%s/attribute" person.handle %}
{% address_table person user action "/place/add/person/%s" person.handle %}
{% note_table person user action "/note/add/person/%s" person.handle %}
{% internet_table person user action "/person/%s/internet" person.handle %}
{% association_table person user action "/person/%s/association" person.handle %}
{% lds_table person user action "/person/%s/lds" person.handle %}
{% reference_table person user action "/reference/add/person/%s" person.handle %}
{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Back to Person" "/person/%s" person.handle %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/person/" %} {% else %} {% make_button "Back to People" "/person" %} {% make_button "Add Person" "/person/add" %} {% make_button "Edit Person" "/person/%s/edit" person.handle %} {% make_button "Delete Person" "/person/%s/delete" person.handle %} {% endifequal %} {% endif %} {% else %} {% endif %} {% endblock %}