{% 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 not familyform.father.probably_alive %} {% else %} {% endif %}
Father Mother
Name: {% render familyform.father user action %} Name: {% render familyform.mother user action %}
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 %}
{% children_table family user action "/family/%s/add/child" family.handle %}
{% event_table family user action "/event/add/family/%s" family.handle %}
{% source_table family user action "/source/add/family/%s" family.handle %}
{% attribute_table family user action "/attribute/add/family/%s" family.handle %}
{% note_table family user action "/note/add/family/%s" family.handle %}
{% lds_table family user action "/lds/add/family/%s" family.handle %}
{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Back to Family" "/family/%s" family.handle %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/family/" %} {% else %} {% make_button "Back to Families" "/family" %} {% make_button "Add Family" "/family/add" %} {% make_button "Edit Family" "/family/%s/edit" family.handle %} {% make_button "Delete Family" "/family/%s/delete" family.handle %} {% endifequal %} {% endif %} {% else %} {% endif %} {% endblock %}