#7 New Form
* extends KonovaCode filtering for parent objects matching given input * renames data_form into form for easier template render support * simplifies empty geometry form initialization
This commit is contained in:
@@ -32,9 +32,7 @@
|
||||
</div>
|
||||
<div id="dataCard" class="collapse" aria-labelledby="dataCardHeader">
|
||||
<div class="card-body">
|
||||
{% with data_form as form %}
|
||||
{% include 'form/generic_table_form_body.html' %}
|
||||
{% endwith %}
|
||||
{% include 'form/generic_table_form_body.html' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -54,7 +52,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<a href="{{ form.cancel_redirect }}">
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views.
|
||||
{% endcomment %}
|
||||
|
||||
|
||||
{% if geom_form.area == 0 %}
|
||||
{% if geom_form.empty %}
|
||||
<div class="alert alert-info">{% trans 'No geometry added, yet.' %}</div>
|
||||
{% endif %}
|
||||
{{geom_form.media}}
|
||||
|
||||
Reference in New Issue
Block a user