School Info - {{ $school->name }}
{{ $school->name }}
{{ $school->address }}
{{ $school->city }}, {{ $school->state }} {{ $school->zip }}
    @foreach($school->directors as $director)
  • {{ $director->full_name() }} @if($director->hasFlag('head_director')) (head) @endif - {{ $director->email }}
  • @endforeach
@if(auth()->user()->hasFlag('head_director'))
Add Director Change Head
@endif
@if(auth()->user()->hasFlag('head_director'))

Users with emails in these domains (the part after the @) that don't already have a school will be able to join your school.

    @foreach($school->emailDomains as $domain)
  • {{ $domain->domain }}
  • @endforeach
  • Add Domain

    Add
@endif
@if(auth()->user()->hasFlag('head_director')) Add Director Change Head Director {{-- Warming Message --}}

WARNING!!!

After making another director head, you will no longer have access to head director functions

This action cannot be undone

Which director should be the head director at {{$school->name}}? (click to set)

@foreach($school->directors as $director) @continue($director->id === auth()->user()->id) {{ $director->full_name() }} < {{$director->email }} > @endforeach
@endif