uswds_base-8.x-2.0-alpha1/templates/layout/region--help.html.twig

templates/layout/region--help.html.twig
{#
/**
 * @file
 * Theme override to display a region.
 *
 * Available variables:
 * - content: The content for this region, typically blocks.
 * - attributes: HTML attributes for the region <div>.
 * - region: The name of the region variable as defined in the theme's
 *   .info.yml file.
 *
 * @see template_preprocess_region_help()
 */
#}
{%
  set classes = [
    'usa-alert',
    'usa-alert-info',
  ]
%}
{% if content %}
  <div{{ attributes.addClass(classes) }}>
    <div{{ attributes.addClass('usa-alert-body') }}>
      <p{{ attributes.addClass('usa-alert-text') }}>
        {{ content }}
      </p>
    </div>
  </div>
{% endif %}

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

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