claro-8.x-1.x-dev/templates/form/input.html.twig

templates/form/input.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{#
/**
 * @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()
 */
#}
{% spaceless %}
{% if autocomplete_message %}
  <div class="claro-autocomplete">
    <input{{ attributes }}/>
    <div hidden class="claro-autocomplete__message">{{autocomplete_message}}</div>
  </div>
  {{ children }}
{% else %}
  <input{{ attributes }}/>{{ children }}
{% endif %}
{% endspaceless %}

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

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