您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

35 行
1.4KB

  1. {% form_theme form with easyadmin_config('design.form_theme') only %}
  2. {% set _entity_config = easyadmin_entity(app.request.query.get('entity')) %}
  3. {% set _entity_id = attribute(entity, _entity_config.primary_key_field_name) %}
  4. {% trans_default_domain _entity_config.translation_domain %}
  5. {% set _trans_parameters = { '%entity_name%': _entity_config.name|trans, '%entity_label%': _entity_config.label|trans, '%entity_id%': _entity_id } %}
  6. {% extends '@LcShop/backend/default/layout/layout-ajax.html.twig' %}
  7. {% block ajax %}
  8. {% block entity_form %}
  9. {{ form(form) }}
  10. {% endblock entity_form %}
  11. {% block head_stylesheets %}
  12. {{ parent() }}
  13. <link rel="stylesheet"
  14. href="{{ asset('bundles/lcshop/css/backend/adminlte/plugins/jquery-ui/jquery-ui.min.css') }}">
  15. {% endblock %}
  16. {% block plugin_javascript %}
  17. {{ parent() }}
  18. <script src="{{ asset('bundles/lcshop/js/backend/plugin/jquery-ui/jquery-ui.min.js') }}"></script>
  19. <script type="text/javascript">
  20. var CKEDITOR_BASEPATH = "{{ ckeditor_base_path("/bundles/fosckeditor/") }}";
  21. </script>
  22. <script type="text/javascript" src="{{ asset('bundles/fosckeditor/ckeditor.js') }}"></script>
  23. {% endblock %}
  24. {% block script_javascript %}
  25. <script src="{{ asset('bundles/lcshop/js/backend/script/default/init-edit.js') }}"></script>
  26. {% endblock %}
  27. {% endblock %}