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

templates/form/input--submit.html.twig
{#
/**
 * @file
 * Yeti 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 submit_button_classes = [
    'button--success',
  ]
%}
<input{{ attributes.addClass(submit_button_classes) }} />{{ children }}

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

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