{% 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/$act/person/%s" person.handle %}
{% name_table person user action "/person/%s/name" person.handle %}
{% citation_table person user action "/citation/$act/person/%s" person.handle %}
{% attribute_table person user action "/attribute/$act/person/%s" person.handle %}
{% address_table person user action "/place/$act/person/%s" person.handle %}
{% note_table person user action "/note/$act/person/%s" person.handle %}
{% media_table person user action "/media/$act/person/%s" person.handle %}
{% internet_table person user action "/person/%s/$act/internet" person.handle %}
{% association_table person user action "/person/%s/$act/association" person.handle %}
{% lds_table person user action "/person/%s/$act/lds" person.handle %}
{% person_reference_table person user action %}
{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Cancel" "/person/%s" person.handle %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/person/" %} {% else %} {% 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 %}