
<div id="wkfe-ld-template-dialog-message" style="display:none">
    <form class="wkfe-ld-template-modal" method="post" data-in-elementor="0" data-site-admin-url="<?php echo esc_url( get_admin_url() ); ?>" data-form-id="0">
        <table class="form-table" role="presentation">
            <tbody>
                <tr>
                    <th scope="row"><?php esc_html_e('Title:','widgetkit-pro'); ?></th>
                    <td>
                        <input type="text" name="ld_course_name" id="ld_course_name" value="" class="regular-text">
                    </td>
                </tr>
                <tr>
                    <th scope="row"><?php esc_html_e('Learndash Course:','widgetkit-pro'); ?></th>
                    <td>
                        <select name="ld_course_id" id="ld_course_id"  class="regular-text">
                            <option value=""><?php esc_html_e('Select a Course','widgetkit-pro') ?></option>
                            <option value="all"><?php esc_html_e('All','widgetkit-pro') ?></option>
                        <?php
                            foreach (learndash_post_title_arr() as $key => $value) { ?>
                                <option value="<?php echo esc_attr($key); ?>"><?php echo esc_html($value); ?></option>
                            <?php }
                        ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th scope="row"><?php esc_html_e('Activate:','widgetkit-pro'); ?></th>
                    <td>
                        <input type="checkbox" id="wkfe_ld_template_val" name="wkfe_ld_template_val" value="1">
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>