@if (Route::is('teachers.create'))

Add new teacher

@else

View/Edit teacher

@endif @livewire('teacher.create-update-form', ['post' => $post])