diff --git a/core/themes/classy/templates/radios.html.twig b/core/themes/classy/templates/radios.html.twig new file mode 100644 index 0000000..bf38830 --- /dev/null +++ b/core/themes/classy/templates/radios.html.twig @@ -0,0 +1,15 @@ +{# +/** + * @file + * Default theme implementation for a 'radios' #type form element. + * + * Available variables + * - attributes: A list of HTML attributes for the wrapper element. + * - children: The rendered radios. + * + * @see template_preprocess_radios() + * + * @ingroup themeable + */ +#} +{{ children }} diff --git a/core/themes/classy/templates/region.html.twig b/core/themes/classy/templates/region.html.twig new file mode 100644 index 0000000..b2c5471 --- /dev/null +++ b/core/themes/classy/templates/region.html.twig @@ -0,0 +1,27 @@ +{# +/** + * @file + * Default theme implementation 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() + * + * @ingroup themeable + */ +#} +{% + set classes = [ + 'region', + 'region-' ~ region|clean_class, + ] +%} +{% if content %} + + {{ content }} + +{% endif %}