{% 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 or logform.errors %}

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

{{personform.errors}} {{nameform.errors}} {{surnameform.errors}} {{logform.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 "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 None "/person/?search=given%%3D%s" nameform.model.first_name %} {% render nameform.suffix user action %}
{{surnameform.surname.label}}: {% render surnameform.prefix user action %} {% render surnameform.surname user action None "/person/?search=surname%%3D%s" surnameform.model.surname %} {{surnameform.name_origin_type.label}}: {% render surnameform.name_origin_type user action %}
{{personform.gender_type.label}}: {% render personform.gender_type user action None "/person/?search=gender%%3D%s" personform.model.gender_type %} {{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 %} {{personform.probably_alive.label}}: {% if person.probably_alive %}Yes{% else %}No{% endif %}
{% 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 %}
{% history_table person user action %}
{% if logform %} {{logform.as_table}}
{% endif %} {% if user.is_superuser %} {% if action == "edit" %} {% make_button "Cancel" "/person/%s" person.handle args %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/person/" args %} {% else %}
{% make_button "+Add Person" "/person/add" args %} {% make_button "?Edit Person" "/person/%s/edit" person.handle args %} {% make_button "-Delete Person" "/person/%s/delete" person.handle args %}
{% endifequal %} {% endif %} {% else %} {% endif %} {% endblock %}