Show weights on score entry screen

This commit is contained in:
Matt Young 2024-06-07 18:04:54 -05:00
parent 08bed04047
commit 62dcdf77e2
1 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,13 @@
<x-table.th>Judges</x-table.th> <x-table.th>Judges</x-table.th>
@foreach($subscores as $subscore) @foreach($subscores as $subscore)
<x-table.th> <x-table.th>
<p>{{ $subscore->name }}<span class="text-xs text-gray-500 pl-2">Max: {{ $subscore->max_score }}</span></p> <div class="">
<div>{{ $subscore->name }}</div>
<div class="text-xs text-gray-500">
<span>Max: {{ $subscore->max_score }}</span>
<span class="pl-2">Weight: {{ $subscore->weight }}</span>
</div>
</div>
</x-table.th> </x-table.th>
@endforeach @endforeach
<x-table.th>Total</x-table.th> <x-table.th>Total</x-table.th>