{% extends "base.html" %} {% load static i18n %} {% block title %}{{ title }} | {{ product_name }}{% endblock %} {% block content %}
{% if not is_create and zone %} {% translate "Annuler" %} {% else %} {% translate "Annuler" %} {% endif %}

{% if is_create %} {% translate "Créer une zone de gestion" %} {% else %} {% translate "Modifier la zone de gestion" %} {{ zone.code }} {% endif %}

{% translate "Définissez les paramètres d'entretien, les consignes et le périmètre géographique de la zone." %}

{% if form.errors %} {% endif %}
{% csrf_token %} {{ form.geom_geojson }}
{% translate "Informations générales" %}
{{ form.code }} {% if form.code.errors %}
{{ form.code.errors.0 }}
{% endif %}
{% translate "Identifiant unique (ex: ZG-NAT-001)" %}
{{ form.thematic }} {% if form.thematic.errors %}
{{ form.thematic.errors.0 }}
{% endif %}
{{ form.name_fr }} {% if form.name_fr.errors %}
{{ form.name_fr.errors.0 }}
{% endif %}
{{ form.name_nl }} {% if form.name_nl.errors %}
{{ form.name_nl.errors.0 }}
{% endif %}
{{ form.zone_type }} {% if form.zone_type.errors %}
{{ form.zone_type.errors.0 }}
{% endif %}
{{ form.color }}
{% if form.color.errors %}
{{ form.color.errors.0 }}
{% endif %}
{{ form.is_active }}
{% translate "Modalités d'entretien & Consignes" %}
{{ form.target_frequency_days }} {% translate "jours" %}
{% translate "Intervalle indicatif entre passages" %}
{% if form.target_frequency_days.errors %}
{{ form.target_frequency_days.errors.0 }}
{% endif %}
{{ form.seasonality_notes }}
{% translate "Ex: Fauche en sept; interdiction taille mars-juillet" %}
{% if form.seasonality_notes.errors %}
{{ form.seasonality_notes.errors.0 }}
{% endif %}
{{ form.instructions }}
{% translate "Consignes cruciales : sécurité tramway, respect des zones humides, hauteur de coupe, etc." %}
{% if form.instructions.errors %}
{{ form.instructions.errors.0 }}
{% endif %}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors.0 }}
{% endif %}
{% translate "Périmètre géographique" %} ({% translate "polygone" %})
{% if not is_create and zone %} {% translate "Annuler" %} {% else %} {% translate "Annuler" %} {% endif %}
{% endblock content %} {% block script %} {% endblock script %}