<?php defined('ALTUMCODE') || die() ?>

<div class="modal fade" id="create_biolink_spotify" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" data-toggle="modal" data-target="#biolink_link_create_modal" data-dismiss="modal" class="btn btn-sm btn-link"><i class="fa fa-fw fa-chevron-circle-left text-muted"></i></button>
                <h5 class="modal-title"><?= language()->create_biolink_spotify_modal->header ?></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="<?= language()->global->close ?>">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>

            <p class="text-muted modal-subheader"><?= language()->create_biolink_spotify_modal->subheader ?></p>

            <div class="modal-body">
                <form name="create_biolink_spotify" method="post" role="form">
                    <input type="hidden" name="token" value="<?= \Altum\Middlewares\Csrf::get() ?>" required="required" />
                    <input type="hidden" name="request_type" value="create" />
                    <input type="hidden" name="link_id" value="<?= $data->link->link_id ?>" />
                    <input type="hidden" name="block_type" value="spotify" />

                    <div class="notification-container"></div>

                    <div class="form-group">
                        <label for="spotify_location_url"><i class="fa fa-fw fa-signature fa-sm mr-1"></i> <?= language()->create_biolink_spotify_modal->location_url ?></label>
                        <input id="spotify_location_url" type="text" class="form-control" name="location_url" required="required" maxlength="512" placeholder="<?= language()->create_biolink_spotify_modal->location_url_placeholder ?>" />
                    </div>

                    <div class="text-center mt-4">
                        <button type="submit" name="submit" class="btn btn-block btn-primary"><?= language()->global->submit ?></button>
                    </div>
                </form>
            </div>

        </div>
    </div>
</div>
