|
|
@@ -155,22 +155,24 @@ |
|
|
|
|
|
|
|
{{ parent() }} |
|
|
|
|
|
|
|
<div class="card card-outline"> |
|
|
|
<div class="card-header p-0 border-bottom-0"> |
|
|
|
<ul id="nav-params" class="nav nav-pills" role="navigation"> |
|
|
|
{% for panel_name, panel_config in ea_crud_form.form_panels|filter(panel_config => not panel_config.form_tab or panel_config.form_tab == tab_name) %} |
|
|
|
{% set panel_has_header = panel_config.label|default(false) or panel_config.icon|default(false) %} |
|
|
|
<li class="nav-item"> |
|
|
|
<a href="#panel-{{ panel_name }} " class="nav-link {{ panel_name == 1 ? 'active' }}" data-toggle="tab" role="tab" |
|
|
|
aria-controls="panel-{{ panel_name }}"> |
|
|
|
{{ panel_config.label|raw }} |
|
|
|
<i class="fa fa-exclamation-circle invalid-form"></i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
{% if ea_crud_form.form_panels is defined %} |
|
|
|
<div class="card card-outline"> |
|
|
|
<div class="card-header p-0 border-bottom-0"> |
|
|
|
<ul id="nav-params" class="nav nav-pills" role="navigation"> |
|
|
|
{% for panel_name, panel_config in ea_crud_form.form_panels|filter(panel_config => not panel_config.form_tab or panel_config.form_tab == tab_name) %} |
|
|
|
{% set panel_has_header = panel_config.label|default(false) or panel_config.icon|default(false) %} |
|
|
|
<li class="nav-item"> |
|
|
|
<a href="#panel-{{ panel_name }} " class="nav-link {{ panel_name == 1 ? 'active' }}" data-toggle="tab" role="tab" |
|
|
|
aria-controls="panel-{{ panel_name }}"> |
|
|
|
{{ panel_config.label|raw }} |
|
|
|
<i class="fa fa-exclamation-circle invalid-form"></i> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
{% endfor %} |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endblock form_start %} |
|
|
|
|
|
|
|
{% block ea_crud_widget_panels %} |