<div class="form-group {{#error}}has-danger{{/error}} fitem {{#advanced}}advanced{{/advanced}} {{{element.extraclasses}}}">
        {{#text}}
            <label for="{{element.id}}">
                {{{label}}}
            </label>
        {{/text}}
    <div class="checkbox">
        <label>
        {{^element.hardfrozen}}
            {{^element.frozen}}
                <input type="hidden" name="{{element.name}}" value="{{element.deselectedvalue}}">
            {{/element.frozen}}
            {{#element.frozen}}
                <input type="hidden" name="{{element.name}}" value="{{element.frozenvalue}}">
            {{/element.frozen}}
        {{/element.hardfrozen}}
        <input type="checkbox"
            name="{{element.name}}"
            class="{{element.extraclasses}}"
            {{#element.selectedvalue}}
                value="{{element.selectedvalue}}"
            {{/element.selectedvalue}}
            id="{{element.id}}" {{#element.checked}}checked{{/element.checked}}
            {{#error}}
                autofocus aria-describedby="id_error_{{element.name}}"
            {{/error}}
            {{#element.frozen}}
                disabled
            {{/element.frozen}}
            {{{element.attributes}}} >
            {{#text}}
                {{{.}}}
            {{/text}}
            {{^text}}
                {{{label}}}
            {{/text}}
        </label>
        <span class="text-nowrap">
            {{#advanced}}<abbr class="initialism text-info" title="{{#str}}advanced{{/str}}">!</abbr>{{/advanced}}
            {{{helpbutton}}}
        </span>
        <div class="form-control-feedback invalid-feedback" id="id_error_{{element.name}}" {{#error}} style="display: block;"{{/error}}>
            {{{error}}}
        </div>
    </div>
</div>
{{^element.frozen}}
{{#js}}
require(['theme_snap/accessibility'], function(module) {
    module.enhanceform({{#quote}}{{element.id}}{{/quote}});
});
{{/js}}
{{/element.frozen}}
