<div class="modal fade" id="edit-endpoint-modal" tabindex="-1" role="dialog" aria-labelledby="edit-endpoint-modal-title"
    aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="edit-endpoint-modal-title">{{ i18n("edit") }} {{ i18n("endpoint_notifications.endpoint") }}: <span id='endpoint-type'></span> </h5>
                <div class="modal-close">
                    <div class="confirm-closing" style="display: none;">
                        <span class='mx-2' style="vertical-align: middle;"><b>{{ i18n("endpoint_notifications.validation.abort_edit_endpoint") }}</b></span>
                        <div class="btn-group btn-group-sm">
                            <button class="btn btn-secondary cancel" type="button">{{ i18n("cancel") }}</button>
                            <button data-bs-dismiss="modal" class="btn btn-danger confirm" type="button">{{ i18n("abort") }}</button>
                        </div>
                    </div>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
            </div>
            <form autocomplete="off">
                <input hidden name="endpoint_id">
                <div class="modal-body">
                    <div class="mb-3 row">
                        <label class="col-form-label col-sm-3" for="endpoint-name-input">
                            <b>{{ i18n("endpoint_notifications.name") }}</b>
                        </label>
                        <div class="col-sm-7">
                            <input data-validation-empty-message="{{ i18n('validation.empty_name') }}" required name="name" type="text" class="form-control" id="edit-endpoint-name-input">
                        </div>
                    </div>
                    <hr>
                    <div class="endpoint-template-container pt-2">
                    </div>
                    <span class="invalid-feedback"></span>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">{{i18n("apply")}}</button>
                </div>
            </form>
        </div>
    </div>
</div>
