<div class="form-check">
<input class="form-check-input" type="checkbox" id="{{ widget.attrs.id }}"
name="{{ widget.name }}">
<label class="form-check-label" for="{{ widget.attrs.id }}">
{{ widget.name }}
</label>
</div>