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

NAME{# form|make_name:user #}

{% comment %} 4 cols {% endcomment %} {% if user.is_authenticated %} {% ifequal action "edit" %} {% for error in form.errors %} {{error}}
{% endfor %} {% endifequal %}
Family: {{form.surname|render:action}} Prefix: {{form.prefix|render:action}}
Given: {{form.first_name|render:action}} Call Name: {{form.call|render:action}}
Title: {{form.title|render:action}} Suffix: {{form.suffix|render:action}}
Patronymic: {{form.patronymic|render:action}} Type: {{form.name_type|render:action}}
{% else %} Family: {{form.surname}} Prefix: [Private] Given: [Private] Call Name: [Private] Title: [Private] Suffix: [Private] Patronymic: [Private] Type: {{form.name_type}} {% endif %}

Tabs

[Back to Person Details] {% if user.is_authenticated %} {% ifequal action "edit" %} {% else %} [Edit Name] [Delete Name] [Add Name] {% endifequal %} {% else %} {% endif %} {% endblock %}