<?php
/* Prohibit direct script loading */
defined('ABSPATH') || die('No direct script access allowed!');
?>
<div class="wpms_form_add_customlink">
    <!-- <button type="button" class="ju-button orange-button waves-effect waves-light wpms-small-btn wpms_add_custom_redirect m-tb-20"
          data-type="add_custom"><?php esc_html_e('Add custom url or rule', 'wpmsPro') ?></button> -->
    <div class="custom_redirect_editor_content wpms-inline-editor-content wpms-popup">
        <h4>
            <?php esc_html_e('Add a redirection on custom url.', 'wpmsPro') ?>
        </h4>
        <div class="form-group">
            <label><?php esc_html_e('From URL', 'wpmsPro') ?>:</label>
            <input type="text" name="custom_redirect_url" class="custom_redirect_url form-control" value="">
        </div>

        <div class="form-group">
            <label><?php esc_html_e('Redirect to', 'wpmsPro') ?>:</label>
            <input type="text" name="custom_redirect_url_redirect" class="custom_redirect_url_redirect form-control"
                   value="">
        </div>

        <div class="form-group">
            <label><?php esc_html_e('Status', 'wpmsPro') ?>:</label>
            <label>
                <select name="custom_redirect_status" class="custom_redirect_status form-control">
                    <option value="301">301</option>
                    <option value="302">302</option>
                    <option value="307">307</option>
                </select>
            </label>
        </div>

        <div class="wpms-form-notification hide"><?php esc_html_e('The link you are trying to redirect is already in the URL list, please edit it from there', 'wpmsPro') ?></div>
        <div class="form-group">
            <input type="button"
                   class="ju-button wpms-small-btn cancel alignleft wpms-cancel-button"
                   value="Cancel">
            <input type="button" data-type="comment" data-link_id="1" data-source_id="1"
                   class="ju-button orange-button wpms-small-btn alignright btn_add_redirect"
                   value="<?php esc_attr_e('Add custom redirect', 'wpmsPro') ?>">
        </div>
        <p>
        </p>
    </div>
</div>
<div class="wpms_width_100 wpms_left"></div>