ex_icons-8.x-1.0/templates/form-element-label--ex-icon-select.html.twig
templates/form-element-label--ex-icon-select.html.twig
{#
/**
* @file
* Default theme implementation for a icon select item form element label.
*
* Available variables:
* - title: The label's text.
* - title_display: Elements title_display setting.
* - required: An indicator for whether the associated form element is required.
* - attributes: A list of HTML attributes for the label.
*
* @see template_preprocess_form_element_label()
*
* @ingroup themeable
*/
#}
{% if title is not empty or required %}
<label{{ attributes.addClass(required ? 'js-form-required') }}>{{ title }}</label>
{% endif %}
