<tr valign="top">
    <th scope="row" class="titledesc">
        <label for="<?php echo esc_attr( $option->get_id_attribute() ); ?>"><?php echo esc_html( $option->get_label() ); ?></label>
    </th>
    <td class="forminp forminp-text">

        <label>
            <input name="<?php echo esc_attr($option->get_name_attribute()); ?>" id="<?php echo esc_attr( $option->get_id_attribute() ); ?>" type="checkbox" value="<?php echo esc_attr( $option->get_value_attribute() ); ?>" <?php echo $option->is_checked() ? 'checked' : null; ?>>
            <?php echo esc_html( $option->get_arg('description') ); ?>
        </label>

        <input type="hidden" name="wp_settings_submitted[]" value="<?php echo esc_attr($option->get_name()); ?>">

        <?php if($error = $option->has_error()) { ?>
            <div class="wps-error-feedback"><?php echo esc_html( $error ); ?></div>
        <?php } ?>
    </td>
</tr>