node-edit-form.html.twig 849 B

12345678910111213141516171819202122232425262728293031
  1. {#
  2. /**
  3. * @file
  4. * Theme override for a node edit form.
  5. *
  6. * Two column template for the node add/edit form.
  7. *
  8. * This template will be used when a node edit form specifies 'node_edit_form'
  9. * as its #theme callback. Otherwise, by default, node add/edit forms will be
  10. * themed by form.html.twig.
  11. *
  12. * Available variables:
  13. * - form: The node add/edit form.
  14. *
  15. * @see mediteran_form_node_form_alter()
  16. */
  17. #}
  18. <div class="layout-node-form clearfix">
  19. <div class="layout-region layout-region-node-main">
  20. {{ form|without('advanced', 'footer', 'actions') }}
  21. </div>
  22. <div class="layout-region layout-region-node-secondary">
  23. {{ form.advanced }}
  24. </div>
  25. <div class="layout-region layout-region-node-footer">
  26. <div class="layout-region-node-footer__content">
  27. {{ form.footer }}
  28. {{ form.actions }}
  29. </div>
  30. </div>
  31. </div>