<?php defined('ABSPATH') || exit; ?>

<div class="glsr-search-box" id="glsr-search-posts">
    <div class="glsr-search-box-wrap">
        <span class="glsr-spinner"><span class="spinner"></span></span>
        <input type="search" class="glsr-search-input" 
            autocomplete="off" 
            placeholder="<?php echo esc_attr_x('Search by ID or title...', 'admin-text', 'site-reviews'); ?>"
        />
        <span class="glsr-search-results"></span>
    </div>
    <p class="description"><?php echo _x('Search for a Page, Post, or <abbr title="Custom Post Type">CPT</abbr> that you would like to assign this review to.', 'admin-text', 'site-reviews'); ?></p>
    <span class="glsr-selected-entries"><?php echo $templates; ?></span>
</div>

<script type="text/html" id="tmpl-glsr-assigned-posts">
<?php include glsr()->path('views/partials/editor/assigned-entry.php'); ?>
</script>
