<div class="tve-sp"></div>
<h6><?php echo esc_html__( 'Choose tag:', 'thrive-dash' ) ?></h6>
<div class="tvd-row tvd-collapse">
	<div class="tvd-col tvd-s4">
		<div class="tve_lightbox_select_holder tve_lightbox_input_inline tve_lightbox_select_inline tvd-input-field">
			<select class="tve-api-extra tl-api-connection-list" name="constantcontact_v3_tag">
				<option
					value="0"<?php echo isset( $data['tag'] ) && $data['tag'] === '0' ? ' selected="selected"' : '' ?>>
					<?php echo esc_html__( 'No tag', 'thrive-dash' ) ?>
				</option>
				<?php foreach ( $data['tags'] as $id => $tag ) : ?>
					<option <?php echo isset( $data['tag'] ) && $data['tag'] == $id ? ' selected="selected"' : '' ?>
						value="<?php echo esc_attr( $id ); ?>"><?php echo esc_html( $tag ); ?></option>
				<?php endforeach; ?>
			</select>
		</div>
	</div>
</div>
