<?php
/**
 * Popup button.
 *
 * Popup button for for survey form.
 *
 * @since   7.0
 *
 * @package WPrequal
 */

namespace WPrequal;

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

<div class="wpq-popup-button-wrapper" style="text-align: <?php echo esc_attr( $args['align'] ); ?>">

	<div class="button wpq-popup-button"><?php echo esc_html( $args['text'] ); ?></div>

	<div style="display: none;">
		<div class="wpq-popup-button-form">
			<?php do_action( 'wprequal_survey_form', $post_id ); ?>
		</div>
	</div>

</div>
