konova/templates/map/geom_form.html
mpeltriaux 57aa39a670 #138 Configuration extended
* adds more layers and subfolders to the layer tree
* changes colours for tools
2022-05-25 09:11:54 +02:00

25 lines
613 B
HTML

{% 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>