auditionadmin/resources/views/dashboard/select_school.blade.php

24 lines
996 B
PHP

@php use Illuminate\Support\Facades\Auth; @endphp
@php $school = Auth::user()->school; @endphp
<x-layout.app>
<x-slot:page_title>Choose School</x-slot:page_title>
<x-card.card heading="Choose your school"
subheading="Based on your email address, one of these schools may be yours">
<x-card.list.body>
@foreach($possibilities as $possibility)
@php $school = $possibility->school; @endphp
<x-card.list.row>
<x-card.list.row-image
src="{{ $school->initialLetterImageURL() }}"
alt=""/>
<x-card.list.row-text-subtext>
{{ $school->name }}
<x-slot:subtext>{{ $school->city }}, {{ $school->state }}</x-slot:subtext>
</x-card.list.row-text-subtext>
</x-card.list.row>
@endforeach
</x-card.list.body>
</x-card.card>
</x-layout.app>