{% 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 %}
{{surnameform.name_origin_type.label}}: {% render surnameform.name_origin_type user action %}
{{surnameform.primary.label}}: {% render surnameform.primary user action %}
{{surnameform.prefix.label}}: {% render surnameform.prefix user action %}
{{surnameform.surname.label}}: {% render surnameform.surname user action %}
{{surnameform.connector.label}}: {% render surnameform.connector user action %}
{% if user.is_authenticated %} {% ifequal action "edit" %} {% else %} {% endifequal %} {% else %} {% endif %} {% endblock %}