{% 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 %}

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

{% comment %} 4 cols {% endcomment %} {% for error in nameform.errors %}

{{error}}
{% endfor %}
{% csrf_token %}

{{surnameform.name_origin_type.label}}: {% render surnameform.name_origin_type user action %} {{nameform.name_type.label}}: {% render nameform.name_type user action %}
{{surnameform.surname.label}}: {% render surnameform.surname user action False "" "get_focus" %} {{surnameform.prefix.label}}: {% render surnameform.prefix user action %}
{{nameform.first_name.label}}: {% render nameform.first_name user action %} {{nameform.call.label}}: {% render nameform.call user action %}
{{nameform.title.label}}: {% render nameform.title user action %} {{nameform.suffix.label}}: {% render nameform.suffix user action %}
{{nameform.preferred.label}}: {% render nameform.preferred user action %} {{nameform.private.label}}: {% render nameform.private user action %}
{{nameform.group_as.label}}: {% render nameform.group_as user action %}
{{nameform.sort_as.label}}: {% render nameform.sort_as user action %}
{{nameform.display_as.label}}: {% render nameform.display_as user action %}
{{nameform.text.label}}: {% render nameform.text user action %}
 
{% surname_table person user action "/person/%s/name/%s/surname" person.handle nameform.model.order %}
{% name_table person user action "/person/%s/name" person.handle %}
{% source_table nameform.model user action "/person/%s/name/%s/source" person.handle nameform.model.order %}
{% note_table nameform.model user action "/person/%s/name/%s/note" person.handle nameform.model.order %}
{% if user.is_authenticated %} {% ifequal action "add" %} {% else %} {% ifequal action "edit" %} {% else %} {% endifequal %} {% endifequal %} {% else %} {% endif %} {% endblock %}