{% extends "view_page_detail.html" %} {% load my_tags %} {% block content %}

{{nameform|make_name:user}} [{{person.gramps_id}}]

{% comment %} 5 cols {% endcomment %} {% if user.is_authenticated %} {% ifequal action "edit" %} {% for error in personform.errors %} {{error}}
{% endfor %} {% for error in nameform.errors %} {{error}}
{% endfor %} {% endifequal %} {% endif %}
{{nameform.surname.label}} {{nameform.surname|render:action}} {{nameform.prefix.label}} {{nameform.prefix|render:action}} Image:
{{nameform.suffix.label}} {{nameform.suffix|render:action}}
{{nameform.first_name.label}} {{nameform.first_name|render:action}} {{nameform.call.label}} {{nameform.call|render:action}}
{{nameform.name_type.label}} {{nameform.name_type|render:action}} {{nameform.patronymic.label}} {{nameform.patronymic|render:action}}
{{nameform.title.label}} {{nameform.title|render:action}}
{{personform.gender_type.label}} {{personform.gender_type|render:action}} {{personform.gramps_id.label}} {{personform.gramps_id|render:action}}
{{personform.marker_type.label}} {{personform.marker_type|render:action}}

Tabs

{% event_table person user action "/person/%s/event" person.handle %}
{% name_table person user action "/person/%s/name" person.handle %}
{% source_table person user action "/person/%s/source" person.handle %}
{% attribute_table person user action "/person/%s/attribute" person.handle %}
{% address_table person user action "/person/%s/address" person.handle %}
{% note_table person user action "/person/%s/note" 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 "/person/%s/reference" person.handle %}
{% if user.is_authenticated %} {% ifequal action "edit" %} {% make_button "Back to Person" "/person/%s" person.handle %} {% else %} {% make_button "Back to People" "/person/" %} {% make_button "Edit Person" "/person/%s/edit" person.handle %} {% make_button "Delete Person" "/person/%s/delete" person.handle %} {% endifequal %} {% else %} {% endif %} {% endblock %}