Reformat user side student.index for mobile

This commit is contained in:
Matt Young 2024-07-20 00:01:35 -05:00
parent 0c3c81fcc8
commit 5900220cab
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
<tr>
<x-table.th first>Name</x-table.th>
<x-table.th>Grade</x-table.th>
<x-table.th>Entries</x-table.th>
<x-table.th class="hidden md:table-cell">Entries</x-table.th>
<x-table.th spacer_only>
<span class="sr-only">Edit</span>
</x-table.th>
@ -46,7 +46,7 @@
<tr>
<x-table.td first>{{ $student->full_name(true) }}</x-table.td>
<x-table.td>{{ $student->grade }}</x-table.td>
<x-table.td>{{ $student->entries_count }}</x-table.td>
<x-table.td class="hidden md:table-cell">{{ $student->entries_count }}</x-table.td>
<x-table.td for_button>
@if( $student->entries_count === 0)
<form method="POST" action="{{ route('students.destroy',$student) }}" class="inline">