<div class="em-synchronization-header">
    <div class="em-py-3 em-d-flex em-align-items-center em-justify-content-between em-mb-4">
        <div class="em-d-flex em-d-flex em-align-items-center">
            <img src="<?php $this->asset('plugin/img/logo.svg') ?>" class="em-mr-3" />
            <span class="em-fs-4 em-fw-bold"><?php echo __('Formulario Popup', 'easymailing') ?></span>
        </div>
    </div>
</div>
<?php $this->include("Admin/Flashes/flashes.php") ?>
<div class="wrap">
    <div class="em-mb-3">
        <p class="em-body-size-2"><?php echo __('Para deshabilitar el formulario o configurar uno nuevo haz clic en eliminar', 'easymailing') ?>.</p>

    </div>
    <div>

        <div class="<?php if(!$config->getPopupForm()){ ?> em-d-none <?php }?> em-position-relative" id="form-container">

            <iframe id="form-iframe" class="em-form-iframe em-border em-border-gray-4" src="<?php if($config->getPopupForm()){ echo $config->getPopupForm()->url; }?>"></iframe>

        </div>

        <form method="post">
            <input type="hidden" name="_method" value="DELETE">
            <p id="submit-btn" class="submit"><input type="submit" name="submit" id="submit" class="em-btn em-btn-warning" value="<?php echo __('Eliminar', 'easymailing') ?>"></p>
        </form>


    </div>
</div>



