|
12345678910111213141516171819202122232425262728293031323334 |
- {% form_theme form with easyadmin_config('design.form_theme') only %}
-
- {% set _entity_config = easyadmin_entity(app.request.query.get('entity')) %}
- {% set _entity_id = attribute(entity, _entity_config.primary_key_field_name) %}
- {% trans_default_domain _entity_config.translation_domain %}
-
- {% set _trans_parameters = { '%entity_name%': _entity_config.name|trans, '%entity_label%': _entity_config.label|trans, '%entity_id%': _entity_id } %}
-
- {% extends '@LcShop/backend/default/layout/layout-ajax.html.twig' %}
-
- {% block ajax %}
- {% block entity_form %}
- {{ form(form) }}
- {% endblock entity_form %}
-
- {% block head_stylesheets %}
- {{ parent() }}
- <link rel="stylesheet"
- href="{{ asset('bundles/lcshop/css/backend/adminlte/plugins/jquery-ui/jquery-ui.min.css') }}">
- {% endblock %}
-
- {% block plugin_javascript %}
- {{ parent() }}
- <script src="{{ asset('bundles/lcshop/js/backend/plugin/jquery-ui/jquery-ui.min.js') }}"></script>
- <script type="text/javascript">
- var CKEDITOR_BASEPATH = "{{ ckeditor_base_path("/bundles/fosckeditor/") }}";
- </script>
- <script type="text/javascript" src="{{ asset('bundles/fosckeditor/ckeditor.js') }}"></script>
- {% endblock %}
-
- {% block script_javascript %}
- <script src="{{ asset('bundles/lcshop/js/backend/script/default/init-edit.js') }}"></script>
- {% endblock %}
- {% endblock %}
|