node-edit-form.html.twig
Same filename in this branch
- main core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
- main core/themes/stable9/templates/content-edit/node-edit-form.html.twig
- main core/themes/claro/templates/node-edit-form.html.twig
- main core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
- main core/modules/node/templates/node-edit-form.html.twig
Same filename and directory in other branches
- 10 core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
- 10 core/themes/stable9/templates/content-edit/node-edit-form.html.twig
- 10 core/themes/claro/templates/node-edit-form.html.twig
- 10 core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
- 11.x core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
- 11.x core/themes/stable9/templates/content-edit/node-edit-form.html.twig
- 11.x core/themes/claro/templates/node-edit-form.html.twig
- 11.x core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
- 11.x core/modules/node/templates/node-edit-form.html.twig
- 10 core/modules/node/templates/node-edit-form.html.twig
- 9 core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
- 9 core/themes/stable9/templates/content-edit/node-edit-form.html.twig
- 9 core/themes/seven/templates/node-edit-form.html.twig
- 9 core/themes/claro/templates/node-edit-form.html.twig
- 9 core/themes/bartik/templates/classy/content-edit/node-edit-form.html.twig
- 9 core/themes/stable/templates/content-edit/node-edit-form.html.twig
- 9 core/themes/starterkit_theme/templates/content-edit/node-edit-form.html.twig
- 9 core/themes/classy/templates/content-edit/node-edit-form.html.twig
- 9 core/modules/node/templates/node-edit-form.html.twig
- 8.9.x core/profiles/demo_umami/themes/umami/templates/classy/content-edit/node-edit-form.html.twig
- 8.9.x core/themes/seven/templates/node-edit-form.html.twig
- 8.9.x core/themes/claro/templates/node-edit-form.html.twig
- 8.9.x core/themes/bartik/templates/classy/content-edit/node-edit-form.html.twig
- 8.9.x core/themes/stable/templates/content-edit/node-edit-form.html.twig
- 8.9.x core/themes/classy/templates/content-edit/node-edit-form.html.twig
- 8.9.x core/modules/node/templates/node-edit-form.html.twig
- 11.x core/themes/admin/templates/node/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
gin_form_node_form_alter()
File
-
core/
themes/ admin/ templates/ node/ node-edit-form.html.twig
View source
- {#
- /**
- * @file
- * 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 gin_form_node_form_alter()
- */
- #}
- {% if form.is_ajax_request %}
- {% block main %}
- {{ form|without('advanced', 'footer', 'actions') }}
- {% endblock %}
-
- {% block secondary %}
- {{ form.advanced }}
- {% endblock %}
-
- {% block footer %}
- {{ form.footer }}
- {{ form.actions }}
- {% endblock %}
- {% else %}
- <div class="layout-node-form clearfix">
- <div class="layout-region layout-region-node-main layout-region--main">
- {{ form|without('advanced', 'footer', 'gin_actions', 'gin_sidebar', 'gin_sidebar_toggle') }}
- </div>
- <div class="layout-region layout-region-node-secondary layout-region--secondary" id="gin_sidebar" tabindex="0">
- <span class="gin-sidebar-draggable" id="gin-sidebar-draggable"></span>
- <div class="layout-region__content">
- {{ form.advanced }}
- {{ form.gin_sidebar_toggle }}
- </div>
- </div>
- </div>
- {% endif %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.