File: //home/globfdxw/www/wp-content/plugins/wpforms/pro/templates/admin/entries/single-entry/choice.php
<?php
/**
* Choice template for the Entry view page.
*
* @var string $choice_type Checkbox or radio.
* @var bool $is_checked Is the choice checked?
* @var array $choice Choice data.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="field-value-choice field-value-choice-<?php echo esc_attr( $choice_type ); ?> <?php echo $is_checked ? ' field-value-choice-checked' : ''; ?>">
<label>
<input type="<?php echo esc_attr( $choice_type ); ?>"<?php echo $is_checked ? ' checked' : ''; ?> disabled>
<?php
// If this is the "Other" choice and a value exists, show it as "Label: Value".
if ( ! empty( $choice['is_other'] ) && $is_checked && isset( $choice['other_value'] ) ) {
echo wp_kses_post( $choice['label'] ) . ': ' . esc_html( $choice['other_value'] );
} else {
echo wp_kses_post( $choice['label'] );
}
?>
</label>
</div>