cshs.html.twig in Client-side Hierarchical Select 8
Same filename and directory in other branches
Default theme implementation for a CSHS select element.
Available variables:
- attributes: HTML attributes for the select tag.
 - options: The option element children.
 
See also
File
templates/cshs.html.twigView source
- {#
 - /**
 -  * @file
 -  * Default theme implementation for a CSHS select element.
 -  *
 -  * Available variables:
 -  * - attributes: HTML attributes for the select tag.
 -  * - options: The option element children.
 -  *
 -  * @see cshs_theme()
 -  *
 -  * @ingroup themeable
 -  */
 - #}
 - <select{{ attributes }}>
 -   {% for option in options %}
 -     <option value="{{ option.value }}" data-parent="{{ option.parent }}"{{ option.selected ? ' selected="selected"' }}>
 -       {{ option.label }}
 -     </option>
 -   {% endfor %}
 - </select>