<?php
/**
 * Form
 *
 * Form for prequal widget.
 *
 * @since   7.0
 *
 * @package WPrequal
 */

namespace WPrequal;

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

<p><label for="size"><?php esc_html_e( 'Survey Form', 'wprequal' ); ?></label>
<p><?php wp_dropdown_pages( [
        'post_type' => 'wpq_survey_form',
        'name'      => esc_attr( $args_name ),
        'class'     => 'post_id widefat',
        'id'        => 'post_id',
        'selected'  => absint( $post_id )
    ] ); ?></p>
