You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views.
|
|
|
|
{% endcomment %}
|
|
|
|
|
|
|
|
{% if geom_form.empty %}
|
|
|
|
<div class="w-100">
|
|
|
|
<div class="alert alert-info">{% trans 'No geometry added, yet.' %}</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if geom_form.geom.errors %}
|
|
|
|
<div class="alert-danger p-2">
|
|
|
|
{% for error in geom_form.geom.errors %}
|
|
|
|
<strong class="invalid">{{ error }}</strong>
|
|
|
|
<br>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div style="height: 85vh">
|
|
|
|
{% include 'map/client/index.html' %}
|
|
|
|
</div>
|