Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

68 lines
1.9KB

  1. {% extends ea.templatePath('layout') %}
  2. {% form_theme form with ea.crud.formThemes only %}
  3. {% trans_default_domain ea.i18n.translationDomain %}
  4. {% block configured_head_contents %}
  5. {{ parent() }}
  6. {% for htmlContent in form.vars.ea_crud_form.assets.headContents %}
  7. {{ htmlContent|raw }}
  8. {% endfor %}
  9. {% endblock %}
  10. {% block configured_stylesheets %}
  11. {{ parent() }}
  12. {% for css_asset in form.vars.ea_crud_form.assets.cssAssets %}
  13. <link rel="stylesheet" href="{{ asset(css_asset) }}">
  14. {% endfor %}
  15. {% for webpack_encore_entry in form.vars.ea_crud_form.assets.webpackEncoreAssets %}
  16. {{ ea_call_function_if_exists('encore_entry_link_tags', webpack_encore_entry) }}
  17. {% endfor %}
  18. {% endblock %}
  19. {% block configured_javascripts %}
  20. {{ parent() }}
  21. {% for js_asset in form.vars.ea_crud_form.assets.jsAssets %}
  22. <script src="{{ asset(js_asset) }}"></script>
  23. {% endfor %}
  24. {% for webpack_encore_entry in form.vars.ea_crud_form.assets.webpackEncoreAssets %}
  25. {{ ea_call_function_if_exists('encore_entry_script_tags', webpack_encore_entry) }}
  26. {% endfor %}
  27. {% endblock %}
  28. {% block page_actions_wrapper %}
  29. {% endblock page_actions_wrapper %}
  30. {% block main %}
  31. <div class="col-8">
  32. {% block form %}
  33. {{ form(form) }}
  34. {% endblock form %}
  35. </div>
  36. <div class="col-4">
  37. {% block aside %}
  38. {% endblock aside %}
  39. </div>
  40. {% block form_footer %}
  41. {% embed '@LcSov/adminlte/embed/form_footer.html.twig' %}
  42. {% block width %}8{% endblock %}
  43. {% block content %}
  44. {% for action in entity.actions %}
  45. {{ include(action.templatePath, { action: action }, with_context = false) }}&nbsp;
  46. {% endfor %}
  47. {% endblock %}
  48. {% endembed %}
  49. {% endblock form_footer %}
  50. {% block delete_form %}{% endblock delete_form %}
  51. {% endblock %}