10 lines
341 B
Twig
10 lines
341 B
Twig
{% extends "forms/field.html.twig" %}
|
|
|
|
{% block input_attributes %}
|
|
type="range"
|
|
{% if field.validate.min %}min="{{ field.validate.min }}"{% endif %}
|
|
{% if field.validate.max %}max="{{ field.validate.max }}"{% endif %}
|
|
{% if field.validate.step %}step="{{ field.validate.step }}"{% endif %}
|
|
{{ parent() }}
|
|
{% endblock %}
|