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

{{family.father|render_name:user}} and {{family.mother|render_name:user}}

{% comment %} 4 cols {% endcomment %} {% if familyform.errors %}

The following fields have errors. Please correct and try again.

{{familyform.errors}}

{% endif %} {% csrf_token %} {% if user.is_authenticated or father.probably_alive %} {% else %} {{family.father|render_name:user}} {% endif %} {% if user.is_authenticated or family.mother.probably_alive %} {% if user.is_authenticated or not familyform.father.probably_alive %} {% else %} {% endif %}
Father Mother
Name: {% if action != "view" %}
{% else %} {{family.father|render_name:user}} {% endif %}
Name: {% if action != "view" %}
{% else %} {{family.mother|render_name:user}} {% endif %} {% else %} {{family.mother|render_name:user}} {% endif %}
Birth: {{familyform.father.birth|date_as_text:user}} Birth: {{familyform.mother.birth|date_as_text:user}}
Death: {{familyform.father.death|date_as_text:user}} Death: {{familyform.mother.death|date_as_text:user}}
Death: {{familyform.father.death|date_as_text:user}} Death: {{familyform.mother.death|date_as_text:user}}
Relationship information
{{familyform.gramps_id.label}}: {% render familyform.gramps_id user action %} {{familyform.family_rel_type.label}}: {% render familyform.family_rel_type user action %}
{{familyform.tags.label}}: {% render familyform.tags user action %} {{familyform.private.label}}: {% render familyform.private user action %}
{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Cancel" "/family/%s" family.handle args %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/family/" args %} {% else %}
{% make_button "+Add Family" "/family/add" args %} {% make_button "?Edit Family" "/family/%s/edit" family.handle args %} {% make_button "-Delete Family" "/family/%s/delete" family.handle args %}
{% endifequal %} {% endif %} {% else %} {% endif %}
{% children_table family user action "/person/$act/family/%s" family.handle %}
{% event_table family user action "/event/$act/family/%s" family.handle %}
{% citation_table family user action "/citation/$act/family/%s" family.handle %}
{% attribute_table family user action "/attribute/add/family/%s" family.handle %}
{% note_table family user action "/note/$act/family/%s" family.handle %}
{% media_table family user action "/media/$act/family/%s" family.handle %}
{% lds_table family user action "/lds/add/family/%s" family.handle %}
{% history_table family user action %}
{% endblock %}