bootstrap_storybook-8.x-2.0/src/components/form/input.twig

src/components/form/input.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()
 */
#}
{% if type != 'file' %}
  {% set css_classes = ['form-control'] %}
{% endif %}

<input{{ attributes.addClass(css_classes).removeClass('form-text') }} />{{ children }}

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

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