{% extends "view_page_detail.html" %} {% load my_tags %} {% block content %}
{% filter breadcrumb %} {% format "/browse|Browse,/person|People,/person/%s|Person [%s],/person/%s/name/%s|Name #%s" object.handle object.gramps_id object.handle order order %} {% endfilter %}

{{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 %} {% endifequal %} {% endif %} {% csrf_token %} {% if form.model.preferred %} {% else %} {% endif %}
{{form.surname.label}}: {% render form.surname user action False "" "get_focus" %} {{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.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 %}
{{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 %}
 
{% surname_table person user action "/person/%s/name/%s/surname" person.handle form.model.order %}
{% 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 %}
{% if user.is_authenticated %} {% ifequal action "edit" %} {% else %} {% endifequal %} {% else %} {% endif %} {% endblock %}