webtheme_admin-11.0.x-dev/templates/form/input--checkbox--toggle.html.twig

templates/form/input--checkbox--toggle.html.twig
{#
/**
 * @file
 * Theme override for an 'input' #type form element.
 *
 * Available variables:
 * - attributes: A list of HTML attributes for the input element.
 * - children: Optional additional rendered elements.
 *
 * @see template_preprocess_input()
 * @see claro_preprocess_input()
 */
#}
{% if autocomplete_message %}
  <div class="claro-autocomplete">
    <input{{ attributes }}/>
    <div hidden class="claro-autocomplete__message">{{autocomplete_message}}</div>
  </div>
  {{ children }}
{% else %}
  <input{{ attributes }}/>{{ children }}
  <span class="checkbox-toggle">
    <span class="checkbox-toggle__inner"></span>
  </span>
{% endif %}

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

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