Quellcode durchsuchen

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/SovBundle into develop

tags/0.1
Fab vor 3 Jahren
Ursprung
Commit
f599dea5fa
2 geänderte Dateien mit 18 neuen und 17 gelöschten Zeilen
  1. +1
    -2
      Resources/config/services.yaml
  2. +17
    -15
      Resources/views/adminlte/crud/form_theme.html.twig

+ 1
- 2
Resources/config/services.yaml Datei anzeigen

@@ -1,4 +1,3 @@

services:
_defaults:
autowire: true # Automatically injects dependencies in your services.
@@ -18,7 +17,7 @@ services:

Lc\SovBundle\Form\Type\Crud\CrudFormType:
decorates: EasyCorp\Bundle\EasyAdminBundle\Form\Type\CrudFormType
arguments: ['@form.type_guesser.doctrine', '@.inner']
arguments: [ '@form.type_guesser.doctrine', '@.inner' ]

Lc\SovBundle\Doctrine\EntityManager:
public: false

+ 17
- 15
Resources/views/adminlte/crud/form_theme.html.twig Datei anzeigen

@@ -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 %}

Laden…
Abbrechen
Speichern