gin_lp-1.0.x-dev/templates/form/input--gin-lp.html.twig

templates/form/input--gin-lp.html.twig
{#
/**
 * @file
 * Default theme implementation 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()
 *
 * @ingroup themeable
 */
#}
{% set classes =[
  attributes.type != 'submit' and  attributes.type != 'radio' ? 'form-element',
  attributes.type == 'radio' ? 'form-boolean--type-radio'
]
%}
<input{{ glp_classes(attributes.addClass(classes)) }} />{{ children }}

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

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