<div class="form-group row">
    <label class="col-sm-1 col-form-label" for="comment_enable">评论</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" name="config[enable]" id="comment_enable" <?php echo $config['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="comment_enable">审核评论</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" name="config[examine]" id="comment_examine" <?php echo $config['examine'] ? 'checked' : ''; ?> />
        <small class="form-text text-muted">开启后评论需要审核才能显示</small>
    </div>
</div>

<div class="form-group row">
    <label class="col-sm-1 col-form-label" for="comment_captcha">验证码</label>
    <div class="col-sm-8">
        <input type="checkbox" data-toggle="switch" name="config[captcha]" id="comment_captcha" <?php echo $config['captcha'] ? 'checked' : ''; ?> />
        <small class="form-text text-muted">开启后发表评论需要验证码</small>
    </div>
</div>