{% extends "metadata_base.html" %} {% load i18n %} {% load static %} {% load base_tags %} {% load bootstrap_tags %} {% load guardian_tags %} {% block title %}{{ geoapp.title }} — {{ block.super }}{% endblock %} {% block body_class %}data{% endblock %} {% block body_outer %} {{ block.super }}

{% blocktrans with geoapp.title as map_title %} Editing details for {{ map_title }} {% endblocktrans %}

{% if geoapp.metadata_uploaded %}
{% blocktrans %}Note: this geoapp's orginal metadata was populated by importing a metadata XML file. GeoNode's metadata import supports a subset of ISO, FGDC, and Dublin Core metadata elements. Some of your original metadata may have been lost.{% endblocktrans %}
{% endif %} {% if geoapp_form.errors or category_form.errors %}
{% blocktrans %}Error updating metadata. Please check the following fields: {% endblocktrans %}
    {% for field in geoapp_form %} {% if field.errors %}
  • {{ field.label }}
  • {% endif %} {% endfor %} {% if category_form.errors %}
  • {{ category_form.errors.as_ul }}
  • {% endif %}
{% endif %} {% csrf_token %}
{% block geoapp_fields %} {% for field in geoapp_form %} {% if field.name != 'use_featureinfo_custom_template' and field.name != 'featureinfo_custom_template' and field.name not in ADVANCED_EDIT_EXCLUDE_FIELD %}
{{ field }}
{% endif %} {% endfor %} {% endblock geoapp_fields %} {% block thesauri %} {% if THESAURI_FILTERS %} {% for field in tkeywords_form %}

{{ field }}

{% endfor %} {% endif %} {% endblock thesauri %}
{% autoescape off %} {% for choice in category_form.category_choice_field.field.choices %}
{% endfor %} {% endautoescape %}
{% endblock %}