 }}/edit" class="btn btn-secondary btn-sm">
                <i class="bi bi-x-circle me-1 text-white"></i>{% trans %}No, keep this record{% endtrans %}
            </a>
        </div>

        {% if record_info['type'] == 'A' or record_info['type'] == 'AAAA' %}
        <script>
            function updateDeleteLink(checked) {
                const deleteLink = document.getElementById('delete_link');
                const baseUrl = '/zones/{{ zone_id }}/records/{{ record_id }}/delete?confirm=1';

           