<?php
/**
 * Team Surveys — manual add page when admin chose "proceed without
 * team CPT". Manual entry needs a team CPT to write to, so we explain
 * and link back to setup.
 *
 * @package BW_AI_Schema_Pro
 * @since 2.2.2
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$queue_url = BW_Schema_Survey_Admin::url_queue();
?>
<div class="wrap">
	<h1><?php esc_html_e( 'Add team info', 'bw-ai-schema-pro' ); ?></h1>

	<div class="notice notice-warning">
		<p>
			<strong><?php esc_html_e( 'A team post type is required for manual entry.', 'bw-ai-schema-pro' ); ?></strong>
		</p>
		<p>
			<?php esc_html_e( "You're currently in 'proceed without a team post type' mode. The public survey can still collect submissions (they wait in the holding queue), but manual entry has no destination — the structured data has nowhere to land without a team CPT.", 'bw-ai-schema-pro' ); ?>
		</p>
		<p>
			<a href="<?php echo esc_url( $queue_url ); ?>" class="button button-primary"><?php esc_html_e( 'Connect a team post type', 'bw-ai-schema-pro' ); ?></a>
		</p>
	</div>
</div>
