<label for="{{id}}" class="switch-label {{#if switch-vat}}switch-vat-label{{/if}}">
    {{#if label_before}}
        <span  class="switch__text-before">{{label_before}}</span>
    {{/if}}
    <span class="switch {{#if switch-vat}}switch-vat{{/if}}">
        <input
                type="checkbox"
                value="{{value}}"
                id="{{id}}"
                {{#if checked}}checked{{/if}}
                {{#if disabled}}disabled{{/if}}
                name="{{#if name}}{{name}}{{else}}{{id}}{{/if}}"
            {{#if checked}}checked{{/if}}
            {{#if disabled}}disabled{{/if}}
        >
        <span class="slider"></span>
    </span>
    {{#if label}}
        <span class="switch__text">{{label}}</span>
    {{/if}}
</label>
