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

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

{{placeform.errors}}

{% endif %}
{% csrf_token %}
{{placeform.title.label}}: {% render placeform.title user action %}
{{placeform.lat.label}}: {% render placeform.lat user action %} {{placeform.long.label}}: {% render placeform.long user action %}
{{placeform.gramps_id.label}}: {% render placeform.gramps_id user action %} {{placeform.private.label}}: {% render placeform.private user action %}
{% location_table place user action "/location/$act/place/%s" place.handle %}
{% source_table place user action "/source/$act/place/%s" place.handle %}
{% note_table place user action "/note/$act/place/%s" place.handle %}
{% media_table place user action "/media/$act/place/%s" place.handle %}
{% internet_table place user action "/internet/$act/place/%s" place.handle %}
{% place_reference_table place user action %}
{% if user.is_superuser %} {% if action == "edit" %} {% make_button "Cancel" "/place/%s" place.handle %} {% else %} {% ifequal action "add" %} {% make_button "Cancel" "/place/" %} {% else %} {% make_button "Add Place" "/place/add" %} {% make_button "Edit Place" "/place/%s/edit" place.handle %} {% make_button "Delete Place" "/place/%s/delete" place.handle %} {% endifequal %} {% endif %} {% else %} {% endif %} {% endblock %}