orange_ecom_starter-2.0.x-dev/templates/input/input--tel.html.twig

templates/input/input--tel.html.twig
{% extends "input.html.twig" %}
{#
/**
 * @file
 * Default theme implementation for an 'input__textfield' #type form element.
 *
 * Available variables:
 * - attributes: A list of HTML attributes for the input element.
 * - children: Optional additional rendered elements.
 * - icon: An icon.
 * - input_group: Flag to display as an input group.
 * - icon_position: Where an icon should be displayed.
 * - prefix: Markup to display before the input element.
 * - suffix: Markup to display after the input element.
 * - type: The type of input.
 *
 * @see \Drupal\bootstrap\Plugin\Preprocess\Input
 * @see template_preprocess_input()
 *
 * @ingroup templates
 */
#}
{%
  set classes = [
    'form-control',
  ]
%}
{% block input %}
  <input{{ attributes.addClass(classes) }} />
{% endblock %}

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

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