konova/templates/map/geom_form.html
mpeltriaux b57d52dc9f Table improvements
* enhances visualization of editable column on tables
    * simplifies code
* enhances visualization of parcel_group column on tables
* WIP: Ordering on intervention table is odd. Same results are being displayed on page 2. Needs further analysis and fixing!
2022-10-12 16:26:01 +02:00

28 lines
694 B
HTML

{% load i18n fontawesome_5 %}
{% 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">
{% fa5_icon 'search-location' %}
{% 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>