2021-08-10 13:12:15 +02:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views.
|
|
|
|
{% endcomment %}
|
|
|
|
|
2021-09-29 14:49:17 +02:00
|
|
|
{% if geom_form.empty %}
|
2021-10-04 13:23:14 +02:00
|
|
|
<div class="w-100">
|
|
|
|
<div class="alert alert-info">{% trans 'No geometry added, yet.' %}</div>
|
|
|
|
</div>
|
2021-08-10 13:12:15 +02:00
|
|
|
{% endif %}
|
2022-04-04 12:27:45 +02:00
|
|
|
|
2022-04-19 17:22:06 +02:00
|
|
|
{% 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 %}
|
|
|
|
|
2022-05-25 09:11:54 +02:00
|
|
|
<div style="height: 85vh">
|
2022-04-04 12:27:45 +02:00
|
|
|
{% include 'map/client/index.html' %}
|
2022-02-21 15:18:15 +01:00
|
|
|
</div>
|