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

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

{% comment %} 5 cols {% endcomment %} {% if user.is_authenticated %} {% ifequal action "edit" %} {% for error in personform.errors %} Error in person: {{error}}
{% endfor %} {% for error in nameform.errors %} Error in name: {{error}}
{% endfor %} {% csrf_token %} {% endifequal %} {% endif %}
Image:
{{nameform.suffix.label}} {% render nameform.suffix user action %}
{{nameform.first_name.label}} {% render nameform.first_name user action nameform.model.person.probably_alive "[Living]" %} {{nameform.call.label}} {% render nameform.call user action %}
{{nameform.name_type.label}} {% render nameform.name_type user action %}
{{nameform.title.label}} {% render nameform.title user action %}
{{personform.gender_type.label}} {% render personform.gender_type user action %} {{personform.gramps_id.label}} {% render personform.gramps_id user action %}
{{personform.private.label}} {% render personform.private user 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 "Add Person" "/person/add" %} {% make_button "Edit Person" "/person/%s/edit" person.handle %} {% make_button "Delete Person" "/person/%s/delete" person.handle %} {% endifequal %} {% else %} {% endif %} {% endblock %}