uikit-8.x-3.x-dev/templates/form/details--grouped.html.twig

templates/form/details--grouped.html.twig
{#
/**
 * @file
 * Theme override to display a details element.
 *
 * Available variables
 * - attributes: A list of HTML attributes for the details element.
 * - errors: (optional) Any errors for this details element, may not be set.
 * - title: (optional) The title of the element, may not be set.
 * - description: (optional) The description of the element, may not be set.
 * - children: (optional) The children of the element, may not be set.
 * - value: (optional) The value of the element, may not be set.
 *
 * @see template_preprocess_details()
 *
 * @ingroup uikit_themeable
 */
#}
<details{{ attributes.addClass('uk-padding-small') }}>
  {%- if title -%}
    <summary{{ summary_attributes }}>{{ title }}</summary>
  {%- endif -%}

  <div>
    {% if errors %}
      <div>
        {{ errors }}
      </div>
    {% endif %}

    {{ description }}
    {{ children }}
    {{ value }}
  </div>
</details>

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

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