Viewing File: /home/ubuntu/btcthrottle-backend/resources/views/admin/static_pages/modals.blade.php

 <!-- Enable OTP Modal -->
        <div class="modal fade" id="staticPageDeleteModal{{$static_page->id}}" tabindex="-1" aria-hidden="true">
          <div class="modal-dialog modal-simple modal-enable-otp modal-dialog-centered">
            <div class="modal-content p-3 p-md-5">
              <div class="modal-body">
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                <div class="text-center mb-4">
                  <h3 class="mb-2">{{ tr('delete') }}</h3>
                </div>
                <p class="text-center mb-4">{{ tr('static_page_delete_confirmation', $static_page->title ?: tr('na')) }}</p>
                <form class="row g-3" action="{{ route('admin.static_pages.destroy', $static_page) }}" method="POST">
                  @csrf
                  @method('DELETE') <!-- Include this line to specify the HTTP method -->
                  <div class="col-12 text-center">
                    <button type="submit" class="btn btn-primary me-sm-3 me-1">{{ tr('yes') }}</button>
                    <button type="button" class="btn btn-label-secondary" data-bs-dismiss="modal" aria-label="Close">{{ tr('no') }}</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
<!--/ Enable OTP Modal -->
Back to Directory File Manager