node-edit-form.html.twig

Same filename in this branch
  1. 10 core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
  2. 10 core/themes/stable9/templates/content-edit/node-edit-form.html.twig
  3. 10 core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
  4. 10 core/modules/node/templates/node-edit-form.html.twig
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
  2. 9 core/themes/stable9/templates/content-edit/node-edit-form.html.twig
  3. 9 core/themes/seven/templates/node-edit-form.html.twig
  4. 9 core/themes/claro/templates/node-edit-form.html.twig
  5. 9 core/themes/bartik/templates/classy/content-edit/node-edit-form.html.twig
  6. 9 core/themes/stable/templates/content-edit/node-edit-form.html.twig
  7. 9 core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
  8. 9 core/themes/classy/templates/content-edit/node-edit-form.html.twig
  9. 9 core/modules/node/templates/node-edit-form.html.twig
  10. 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
  11. 8.9.x core/themes/seven/templates/node-edit-form.html.twig
  12. 8.9.x core/themes/claro/templates/node-edit-form.html.twig
  13. 8.9.x core/themes/bartik/templates/classy/content-edit/node-edit-form.html.twig
  14. 8.9.x core/themes/stable/templates/content-edit/node-edit-form.html.twig
  15. 8.9.x core/themes/classy/templates/content-edit/node-edit-form.html.twig
  16. 8.9.x core/modules/node/templates/node-edit-form.html.twig
  17. 11.x core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
  18. 11.x core/themes/stable9/templates/content-edit/node-edit-form.html.twig
  19. 11.x core/themes/claro/templates/node-edit-form.html.twig
  20. 11.x core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
  21. 11.x core/modules/node/templates/node-edit-form.html.twig

Theme override for a node edit form.

Two column template for the node add/edit form.

This template will be used when a node edit form specifies 'node_edit_form' as its #theme callback. Otherwise, by default, node add/edit forms will be themed by form.html.twig.

Available variables:

  • form: The node add/edit form.

See also

claro_form_node_form_alter()

File

core/themes/claro/templates/node-edit-form.html.twig

View source
  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 claro_form_node_form_alter()
  16. */
  17. #}
  18. {% extends '@claro/form/form-two-columns.html.twig' %}
  19. {% block main %}
  20. {{ form|without('advanced', 'footer', 'actions') }}
  21. {% endblock %}
  22. {% block secondary %}
  23. {{ form.advanced }}
  24. {% endblock %}
  25. {% block footer %}
  26. {{ form.footer }}
  27. {{ form.actions }}
  28. {% endblock %}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.