{% extends "view_page_detail.html" %} {% load my_tags %} {% block content %}
{% include "detail_breadcrumb.html" %}
{% 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 %} {% for error in surnameform.errors %} Error in surname: {{error}}
{% endfor %} {% endifequal %} {% 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 "/person/%s/event" person.handle %}
{% name_table person user action "/person/%s/name" person.handle %}
{% citation_table person user action "/person/%s/citation" 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 %}
{% make_button "Back to People" "/person" %} {% if user.is_authenticated %} {% ifequal action "edit" %} {% make_button "Back to Person" "/person/%s" person.handle %} {% else %} {% make_button "Edit Person" "/person/%s/edit" person.handle %} {% make_button "Add Person" "/person/add" %} {% make_button "Delete Person" "/person/%s/delete" person.handle %} {% endifequal %} {% else %} {% endif %} {% endblock %}