{# /** * @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. * - disabled: Optional (boolean): is disabled (optional, default: false). * - invalid: Optional (boolean): has error (optional, default: false). * * @see ./core/themes/stable/templates/form/input.html.twig */ #} {% include 'themes/custom/ewrc_theme/components/twig-component-datepicker/ecl-datepicker.html.twig' with { id: attributes.id, name: attributes.name, default_value: attributes.value, required: element['#required'], invalid: element['#errors'] is not empty, disabled: attributes.disabled is defined, icons_path: ecl_icon_path, placeholder: placeholder } %}{{ children }} {#{{ children }}#}