diff --git a/core/themes/classy/templates/form/select.html.twig b/core/themes/classy/templates/form/select.html.twig new file mode 100644 index 0000000..3150bdc --- /dev/null +++ b/core/themes/classy/templates/form/select.html.twig @@ -0,0 +1,27 @@ +{# +/** + * @file + * Theme override for a select element. + * + * Available variables: + * - attributes: HTML attributes for the select tag. + * - options: The option element children. + * + * @see template_preprocess_select() + */ +#} +{% spaceless %} + + {% for option in options %} + {% if option.type == 'optgroup' %} + + {% for sub_option in option.options %} + + {% endfor %} + + {% elseif option.type == 'option' %} + + {% endif %} + {% endfor %} + +{% endspaceless %}