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

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

{% comment %} 4 cols {% endcomment %} {% if user.is_authenticated %} {% ifequal action "edit" %} {% for error in form.errors %} {{error}}
{% endfor %} {% csrf_token %} {% endifequal %} {% endif %} {% if form.model.preferred %} {% else %} {% endif %}
{{form.surname.label}}: {% render form.surname user action %} {{form.prefix.label}}: {% render form.prefix user action %}
{{form.first_name.label}}: {% render form.first_name user action %} {{form.call.label}}: {% render form.call user action %}
{{form.title.label}}: {% render form.title user action %} {{form.suffix.label}}: {% render form.suffix user action %}
{{form.patronymic.label}}: {% render form.patronymic user action %} {{form.name_type.label}}: {% render form.name_type user action %}
{{form.preferred.label}}:True{% render form.preferred user action %}{{form.private.label}}: {% render form.private user action %}

Tabs

{{form.group_as.label}}: {% render form.group_as user action %}
{{form.sort_as.label}}: {% render form.sort_as user action %}
{{form.display_as.label}}: {% render form.display_as user action %}
{{form.text.label}}: {% render form.text user action %}
 
{% name_table person user action "/person/%s/name" person.handle %}
{% source_table form.model user action "/person/%s/name/%s/source" person.handle form.model.order %}
{% note_table form.model user action "/person/%s/name/%s/note" person.handle form.model.order %}
[Back to Person] {% if user.is_authenticated %} {% ifequal action "edit" %} {% else %} [Edit Name] [Delete Name] [Add Name] {% endifequal %} {% else %} {% endif %} {% endblock %}