socialbase-1.1.0/templates/form/form-element-label--dropdown.html.twig

templates/form/form-element-label--dropdown.html.twig
{#
/**
 * @file
 * Default theme implementation for a form element label.
 *
 * Available variables:
 * - element: an input element.
 * - title: The label's text.
 * - title_display: Elements title_display setting.
 * - description: element description.
 * - 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 templates
 */
#}
<label{{ attributes.removeAttribute('data-original-title', 'data-toggle')}} class="block">
  <svg class="icon-small" aria-hidden="true">
    <use xlink:href="#icon-{{ icon }}"></use>
  </svg>
  <span>{{ title }}</span>
  <span>{{ element }}</span>
</label>

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

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