{% extends 'base/base.html' %} {% load static %} {% block title %}{% if is_edit %}Edit{% else %}Add{% endif %} Park - ThrillWiki{% endblock %} {% block content %}

{% if is_edit %}Edit{% else %}Add{% endif %} Park

{% if form.errors %}

Please correct the following errors:

    {% for field in form %} {% for error in field.errors %}
  • {{ field.label }}: {{ error }}
  • {% endfor %} {% endfor %} {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% csrf_token %} {{ form.country }} {{ form.region }} {{ form.city }}
{{ form.name }}
{% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{% for field in form %} {% if field.name not in 'name,country,region,city,country_name,region_name,city_name' %}
{{ field }}
{% if field.help_text %}

{{ field.help_text }}

{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %}
{% endif %} {% endfor %} {% if not user.role == 'MODERATOR' and not user.role == 'ADMIN' and not user.role == 'SUPERUSER' %}

Your submission will be reviewed by a moderator before being published.

{% endif %}
Cancel
{% if is_edit %}
{% include "media/partials/photo_manager.html" with photos=object.photos.all content_type="parks.park" object_id=object.id %}
{% endif %}
{% endblock %}