Security update for Core, with self-updated composer
[yaffs-website] / web / themes / contrib / bootstrap / templates / input / input--form-control.html.twig
1 {% extends "input.html.twig" %}
2 {#
3 /**
4  * @file
5  * Default theme implementation for an 'input__textfield' #type form element.
6  *
7  * Available variables:
8  * - attributes: A list of HTML attributes for the input element.
9  * - children: Optional additional rendered elements.
10  * - icon: An icon.
11  * - input_group: Flag to display as an input group.
12  * - icon_position: Where an icon should be displayed.
13  * - prefix: Markup to display before the input element.
14  * - suffix: Markup to display after the input element.
15  * - type: The type of input.
16  *
17  * @ingroup templates
18  *
19  * @see \Drupal\bootstrap\Plugin\Preprocess\Input
20  * @see template_preprocess_input()
21  */
22 #}
23 {% spaceless %}
24   {%
25     set classes = [
26       'form-control',
27     ]
28   %}
29   {% block input %}
30     <input{{ attributes.addClass(classes) }} />
31   {% endblock %}
32 {% endspaceless %}