<div class="col-md-3">
    @if (isset($participant) && ! empty($participant) && auth()->user()->can('core.user.participant.update') && Route::current()->getName() !== 'admin.participant.edit')
    <a class="btn btn-block btn-primary margin-bottom" href="{{ route('admin.participant.edit', $participant->getId()) }}">
        <span class="fa-solid fa-edit"></span>
        <span>Edit Participant</span>
    </a>
    @endif
    @if (isset($participant) && ! empty($participant))
    <div class="box box-solid form-affix">
        <div class="box-body no-padding">
            {{ $links }}
        </div>
    </div>
    @endif
    <div class="box box-solid">
        <div class="box-body no-padding">
            <ul class="nav nav-pills nav-stacked">
                <li>
                    <a href="{{ route('admin.participant.index') }}">
                        <i class="fa-solid fa-chevron-left"></i>
                        <span>Back to List</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
