<input
    type="hidden"
    name="{{ attributes['input_name'] }}"
    value="0"
/>
<input
    type="{{ attributes['type'] }}"
    id="{{ attributes['id'] }}"
    name="{{ attributes['input_name'] }}"
    value="1"
    class="{{ attributes['class'] }}"
    {% for attribute_name, value in additional_attributes %}
        {{ attribute_name }}="{{ value }}"
    {% endfor %}
    {% if input_value is not empty and input_value == 1 %}
        checked
    {% endif %}
/>
