|
- {% extends ea.templatePath('layout') %}
- {% form_theme form with ea.crud.formThemes only %}
-
- {% trans_default_domain ea.i18n.translationDomain %}
-
-
- {% block configured_head_contents %}
- {{ parent() }}
- {% for htmlContent in form.vars.ea_crud_form.assets.headContents %}
- {{ htmlContent|raw }}
- {% endfor %}
- {% endblock %}
-
- {% block configured_stylesheets %}
- {{ parent() }}
-
- {% for css_asset in form.vars.ea_crud_form.assets.cssAssets %}
- <link rel="stylesheet" href="{{ asset(css_asset) }}">
- {% endfor %}
-
- {% for webpack_encore_entry in form.vars.ea_crud_form.assets.webpackEncoreAssets %}
- {{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }}
- {% endfor %}
- {% endblock %}
-
-
- {% block configured_javascripts %}
- {{ parent() }}
-
- {% for js_asset in form.vars.ea_crud_form.assets.jsAssets %}
- <script src="{{ asset(js_asset) }}"></script>
- {% endfor %}
-
- {% for webpack_encore_entry in form.vars.ea_crud_form.assets.webpackEncoreAssets %}
- {{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry) }}
- {% endfor %}
- {% endblock %}
-
- {% block page_actions_wrapper %}
- {% endblock page_actions_wrapper %}
-
-
- {% block main %}
- <div class="col-8">
- {% block form %}
- {{ form(form) }}
- {% endblock form %}
- </div>
-
- <div class="col-4">
- {% block aside %}
- {% endblock aside %}
- </div>
-
-
- {% block form_footer %}
- {% embed '@LcSov/adminlte/embed/form_footer.html.twig' %}
- {% block width %}8{% endblock %}
- {% block content %}
- {% for action in entity.actions %}
- {{ include(action.templatePath, { action: action }, with_context = false) }}
- {% endfor %}
- {% endblock %}
- {% endembed %}
- {% endblock form_footer %}
-
- {% block delete_form %}{% endblock delete_form %}
- {% endblock %}
|