Fix missing form when no custom form is present
This commit is contained in:
parent
9e1804a141
commit
16d8ac0c6d
1 changed files with 3 additions and 2 deletions
|
|
@ -82,10 +82,11 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if form and expert_form %}
|
{% if expert_form %}
|
||||||
<div id="expert-form-container"
|
<div id="expert-form-container"
|
||||||
class="expert-crd-form"
|
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">
|
<ul class="nav nav-tabs" id="expertTab" role="tablist">
|
||||||
{% for fieldset in expert_form.get_fieldsets %}
|
{% for fieldset in expert_form.get_fieldsets %}
|
||||||
{% if not fieldset.hidden %}
|
{% if not fieldset.hidden %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue