<?php
/**
 * Slides
 *
 * Slides
 *
 * @since   7.0
 *
 * @package WPrequal
 */

namespace WPrequal;

if ( ! defined( 'ABSPATH' ) ) {
	die( 'Access denied!!' );
}

global $post;

if ( ! $slides = get_post_meta( $post->ID, 'slides', TRUE ) ) { ?>
	<div class="no-slides"><?php esc_html_e( 'Please add at least 1 silde.', 'wprequal' ); ?></div>
<?php } ?>

<ul class="survey-slides"></ul>

<div><b><?php esc_html_e( 'Note:', 'wprequal' ); ?></b></div>
<div><?php esc_html_e( 'All survey forms must end with a contact form with Lead Fields, processing slide, and confirmation message or redirect.', 'wprequal' ); ?></div>
<div><?php esc_html_e( 'Only 1 contact form with contact fields can be submitted per request. Use contact forms with Text Input lead fields instead.', 'wprequal' ); ?></div>

