@extends('layouts.dashboard') @section('nav-top-left') @foreach (Auth::user()->getActiveRolesForCall($call) as $role)
{{ $role->view_name }}
@endforeach
Assign Evaluators to Proposals
Assign 2 evaluators for each proposal below
@endsection @section('nav-bottom-left') @endsection @section('nav-bottom-right')
@endsection @section('content')
{{-- Search bar --}}
@if($proposals->count() > 0)
    {{-- Header row --}}
  • Proposal Title
    Acronym
    Applicant
    Evaluators
    Domain
    Actions
  • {{-- Proposal rows --}} @foreach($proposals as $proposal) @php $evaluatorsList = $proposal->evaluators()->get(); $evaluator1Id = $evaluatorsList[0]['id'] ?? ''; $evaluator2Id = $evaluatorsList[1]['id'] ?? ''; @endphp @endforeach
@else

There are no available finalized proposals to assign

@endif
{{-- Assign Evaluators Modal --}} @endsection @section('styles') {{-- Select2 CSS — required for the dropdowns to actually look like dropdowns --}} @endsection @section('javascripts') {{-- Bootstrap 5 JS (includes Popper) — required for dropdowns and modals --}} {{-- Select2 from CDN. Requires jQuery to already be loaded by your layout. --}} @endsection