webtheme_admin-11.0.x-dev/templates/node/node-edit-form.html.twig

templates/node/node-edit-form.html.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 %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc