<?php
$triggable = ! empty( $option['triggable'] ) ? ' data-triggable="' . $option['triggable'] . '" class="sunrise-plugin-triggable hide-if-js"' : '';
$checked   = ( isset( $settings[ $option['id'] ] ) && $settings[ $option['id'] ] == 'on' ) ? ' checked="checked"' : '';
?>
<tr<?php echo $triggable; ?>>
	<th scope="row">
		<label for="sunrise-plugin-field-<?php echo $option['id']; ?>"><?php echo $option['name']; ?></label></th>
	<td>
		<label><input type="checkbox" name="<?php echo $option['id']; ?>" id="sunrise-plugin-field-<?php echo $option['id']; ?>"<?php echo $checked; ?> /> <?php echo $option['label']; ?>
		</label>
		<span class="description"><?php echo $option['desc']; ?></span>
	</td>
</tr>