adm_program/installation/templates/sys-template-parts/form.checkbox.tpl
{if $formType neq "vertical" and $formType neq "navbar"}
<div class="row mb-3">
<div class="col-sm-9 offset-sm-3">
{/if}
<div id="{$data.id}_group" class="admidio-form-group form-check form-switch
{if $formType neq "navbar"} mb-4{/if}
{if $data.property eq 1} admidio-form-group-required{/if}">
<input id="{$data.id}" name="{$data.id}" class="form-check-input focus-ring {$data.class}" type="checkbox" value="1"
{foreach $data.attributes as $itemvar}
{$itemvar@key}="{$itemvar}"
{/foreach}
>
<label class="form-check-label" for="{$data.id}">
{include file="sys-template-parts/parts/form.part.icon.tpl"}
{$data.label}
</label>
{if $formType eq "navbar"}
{include file="sys-template-parts/parts/form.part.iconhelp.tpl"}
{else}
{include file="sys-template-parts/parts/form.part.helptext.tpl"}
{/if}
{include file="sys-template-parts/parts/form.part.warning.tpl"}
</div>
{if $formType neq "vertical" and $formType neq "navbar"}</div></div>{/if}