forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
41 lines
1.1 KiB
Twig
41 lines
1.1 KiB
Twig
{#
|
|
/**
|
|
* @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 claro_form_node_form_alter()
|
|
*/
|
|
#}
|
|
<div class="layout-node-form clearfix">
|
|
<div class="layout-region layout-region-node-main">
|
|
{{ form|without('advanced', 'footer', 'actions', 'gin_actions', 'gin_sidebar', 'gin_sidebar_toggle') }}
|
|
</div>
|
|
<div class="layout-region layout-region-node-secondary" id="gin_sidebar">
|
|
<div class="layout-region__content">
|
|
{{ form.advanced }}
|
|
{{ form.gin_sidebar_toggle }}
|
|
</div>
|
|
</div>
|
|
<div class="layout-node-form__actions">
|
|
{{ form.gin_actions }}
|
|
</div>
|
|
</div>
|
|
|
|
{% if gin_layout_paragraphs == 1 %}
|
|
<style>
|
|
.layout-node-form {
|
|
--gin-lp-layout: "{{ 'Layout'|t }}";
|
|
--gin-lp-content: "{{ 'Content'|t }}";
|
|
}
|
|
</style>
|
|
{% endif %}
|