Commit ebc92be9 authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3258108 by pivica: Input range needs a twig template

parent fb746f24
Loading
Loading
Loading
Loading
+16 −0
Changes for themes/bs_bootstrap/templates/form/input--range.html.twig: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
{% extends "input.html.twig" %}
{#
/**
 * @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()
 */
#}
{% block input %}
  <input{{ attributes.addClass(custom_forms ? 'custom-range' : 'form-control-range') }} />{{ children }}
{% endblock %}