drupal/core/modules/node/templates/node-edit-form.html.twig

31 lines
782 B
Plaintext
Raw Normal View History

{#
/**
* @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 theme_form().
*
* Available variables:
* - form: The node add/edit form.
*
* @see seven_form_node_form_alter()
*
* @ingroup themeable
*/
#}
<div class="layout-node-form clearfix">
<div class="layout-region layout-region-node-main">
{{ form|without('advanced', 'actions') }}
</div>
<div class="layout-region layout-region-node-secondary">
{{ form.advanced }}
</div>
<div class="layout-region layout-region-node-footer">
{{ form.actions }}
</div>
</div>