node-edit-form--gutenberg.html.twig in Gutenberg 8.2
Same filename and directory in other branches
Default theme implementation 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.
<div class="layout-region layout-region-node-footer"> <div class="layout-region-node-footer__content"> {{ form.footer }} {{ form.actions }} </div> </div>
See also
File
templates/node-edit-form--gutenberg.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation 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 seven_form_node_form_alter()
- *
- * @ingroup themeable
-
- <div class="layout-region layout-region-node-footer">
- <div class="layout-region-node-footer__content">
- {{ form.footer }}
- {{ form.actions }}
- </div>
- </div>
-
- */
- #}
- <div class="clearfix">
- <div id="gutenberg-sidebar" class="gutenberg-sidebar">
- <div class="tab document" data-tab="document">
- {{ form.title }}
- {{ form.additional_fields }}
- {{ form.advanced }}
- </div>
- {#
- <div class="tab additional-fields" data-tab="additional-fields">
- {{ form.additional_fields }}
- </div>
- #}
- <div class="tab metabox-fields" data-tab="metabox-fields">
- {{ form.metabox_fields }}
- </div>
- </div>
- <div class="gutenberg-header-settings">
- {{ form.actions}}
- </div>
- <div class="gutenberg">
- {{ form|without('advanced', 'metabox_fields', 'footer', 'actions', 'title', 'additional_fields') }}
- </div>
- </div>