<div class="form-group row">
    <label class="col-sm-1 col-form-label" for="example">侧边栏</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" name="config[admincp][sidebar][enable]" id="admincp_sidebar_enable" <?php echo $config['admincp']['sidebar']['enable'] ? 'checked' : ''; ?> />
        <small class="form-text text-muted">是否开启侧边栏</small>
    </div>
</div>
<div class="form-group row">
    <label class="col-sm-1 col-form-label" for="example">侧边栏</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" data-on-text="最小化" data-off-text="展开" name="config[admincp][sidebar][mini]" id="admincp_sidebar" <?php echo $config['admincp']['sidebar']['mini'] ? 'checked' : ''; ?> />
        <small class="form-text text-muted">启用后可选择默认展开状态或者最小化</small>
    </div>
</div>
<div class="form-group row">
    <label class="col-sm-1 col-form-label" for="example">侧边栏</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" data-on-text="右侧" data-off-text="左侧" name="config[admincp][sidebar][right]" id="admincp_sidebar_right" <?php echo $config['admincp']['sidebar']['right'] ? 'checked' : ''; ?> />
        <small class="form-text text-muted">侧边栏位置，默认在左侧</small>
    </div>
</div>
