@php use Illuminate\Support\Facades\Auth; @endphp @php $school = Auth::user()->school; @endphp Choose School {{-- --}} Choose your school Based on your email address, one of these schools may be yours @foreach($possibilities as $possibility) @php $school = $possibility->school; @endphp
@csrf @method('PATCH') {{ $school->name }} {{ $school->city }}, {{ $school->state }} Choose
@endforeach