Fix missing form when no custom form is present

This commit is contained in:
Tobias Kunze 2025-11-06 14:52:13 +01:00
parent 9e1804a141
commit 16d8ac0c6d

View file

@ -82,10 +82,11 @@
</div>
{% endif %}
</div>
{% if form and expert_form %}
{% if expert_form %}
<div id="expert-form-container"
class="expert-crd-form"
style="display:none">
style="{% if form %}display:none{% endif %}">
{% if expert_form and expert_form.context %}{{ expert_form.context }}{% endif %}
<ul class="nav nav-tabs" id="expertTab" role="tablist">
{% for fieldset in expert_form.get_fieldsets %}
{% if not fieldset.hidden %}