<tr class="happyforms-message-edit-field-<?php echo $part['type']; ?>">
	<td class="first">
		<label for="<?php echo $part['id']; ?>"><?php echo esc_html( $part['label'] ); ?></label>
	</td>
	<td>
		<input type="hidden" name="parts[<?php echo $part['id']; ?>][type]" value="<?php echo $part['type']; ?>" />
		<?php 
		$value = happyforms_get_message_part_value( $value, $part, 'admin-edit' );
		$value = wp_unslash( $value );
		?>
		<input type="text" name="parts[<?php echo $part['id']; ?>][value]" id="<?php echo $part['id']; ?>" value="<?php echo esc_html( $value ); ?>" />
	</td>
</tr>
