@extends('layouts.app') @section('title','Rubrics') @section('content')
@forelse($competition->rubrics as $rubric)
{{ $rubric->name }}@if($rubric->is_active)Active@elseInactive@endif

{{ $rubric->description?:'No description provided.' }}

Criteria{{ $rubric->criteria->count() }}
Total Weight{{ number_format($rubric->criteria->sum('weightage'),2) }}%
@if(!$competition->isLocked())Edit@if(!$rubric->is_active)
@csrf
@csrf @method('DELETE')
@endif @endif
@empty
📋
No rubric configured. Create one before assigning evaluations.
@endforelse
@endsection