@if (isset($assignment) && !empty($assignment))
    <div class="dropdown">
        <button type="button" class="btn p-0 dropdown-toggle hide-arrow" data-bs-toggle="dropdown">
            <i class="bx bx-dots-vertical-rounded"></i>
        </button>
        <div class="dropdown-menu">
            <a class="dropdown-item" href="{{ route('edit.assignment', ['assignment' => $assignment->encrypted_id]) }}">
                <i class="bx bx-edit-alt me-1"></i> Edit
            </a>
            <a class="dropdown-item"
                href="{{ route('manage.assignment.files', ['assignment' => $assignment->encrypted_id]) }}">
                <i class="bx bx-upload me-1 text-info"></i>
                Manage Assignment Files
            </a>
            <a class="dropdown-item"
                href="{{ route('manage.why.choose.content', ['assignment' => $assignment->encrypted_id]) }}">
                <i class="bx bx-badge-check me-1 text-success"></i> Manage Why Choose Us Content
            </a>
            {{-- <a class="dropdown-item"
                href="{{ route('manage.assignment.details.contents', ['assignment' => $assignment->encrypted_id]) }}">
                <i class="bx bx-detail me-1 text-primary"></i> Manage Assignment Details Content
            </a> --}}
            <button class="dropdown-item" onclick="delete_item('<?= $model ?>', '<?= $assignment->encrypted_id ?>');">
                <i class="bx bx-trash me-1 text-danger"></i> Delete
            </button>
        </div>
    </div>
@endif

@if (isset($guess_paper) && !empty($guess_paper))
    <div class="dropdown">
        <button type="button" class="btn p-0 dropdown-toggle hide-arrow" data-bs-toggle="dropdown">
            <i class="bx bx-dots-vertical-rounded"></i>
        </button>
        <div class="dropdown-menu">
            <a class="dropdown-item"
                href="{{ route('edit.guess.paper', ['guess_paper' => $guess_paper->encrypted_id]) }}">
                <i class="bx bx-edit-alt me-1"></i> Edit
            </a>
            <a class="dropdown-item"
                href="{{ route('manage.guess.paper.files', ['guess_paper' => $guess_paper->encrypted_id]) }}">
                <i class="bx bx-upload me-1 text-info"></i>
                Manage Guess Paper Files
            </a>
            <a class="dropdown-item"
                href="{{ route('manage.guess.paper.why.choose.content', ['guess_paper' => $guess_paper->encrypted_id]) }}">
                <i class="bx bx-badge-check me-1 text-success"></i> Manage Why Choose Us Content
            </a>
            {{-- <a class="dropdown-item"
                href="{{ route('manage.guess.paper.details.contents', ['guess_paper' => $guess_paper->encrypted_id]) }}">
                <i class="bx bx-detail me-1 text-primary"></i> Manage Guess Paper Details Content
            </a> --}}
            <button class="dropdown-item" onclick="delete_item('<?= $model ?>', '<?= $guess_paper->encrypted_id ?>');">
                <i class="bx bx-trash me-1 text-danger"></i> Delete
            </button>
        </div>
    </div>
@endif

@if (isset($project) && !empty($project))
    <div class="dropdown">
        <button type="button" class="btn p-0 dropdown-toggle hide-arrow" data-bs-toggle="dropdown">
            <i class="bx bx-dots-vertical-rounded"></i>
        </button>
        <div class="dropdown-menu">
            <a class="dropdown-item" href="{{ route('edit.project', ['project' => $project->encrypted_id]) }}">
                <i class="bx bx-edit-alt me-1"></i> Edit
            </a>
            {{-- <a class="dropdown-item" href="{{ route('manage.project.files', ['project' => $project->encrypted_id]) }}">
                <i class="bx bx-upload me-1 text-info"></i>
                Manage Project Files
            </a> --}}
            <a class="dropdown-item"
                href="{{ route('manage.project.why.choose.content', ['project' => $project->encrypted_id]) }}">
                <i class="bx bx-badge-check me-1 text-success"></i> Manage Why Choose Us Content
            </a>
            {{-- <a class="dropdown-item"
                href="{{ route('manage.project.details.contents', ['project' => $project->encrypted_id]) }}">
                <i class="bx bx-detail me-1 text-primary"></i> Manage Project Details Content
            </a> --}}
            <button class="dropdown-item" onclick="delete_item('<?= $model ?>', '<?= $project->encrypted_id ?>');">
                <i class="bx bx-trash me-1 text-danger"></i> Delete
            </button>
        </div>
    </div>
@endif
