{{-- 选择老师(如果是老师登录,自动选中并隐藏) --}} @if(!$this->shouldHideTeacherDropdown())
@if($teacherHelperText) @endif @if($teacherId) @endif
@else {{-- 显示当前选中的老师信息(不可编辑) --}}
{{ $teacherId ? $teacherOptions[$teacherId] ?? '未选择' : '未选择' }}
@if($teacherHelperText)
{{ $teacherHelperText }}
@endif
@endif {{-- 选择学生 --}}
@if($studentHelperText) @endif @if($studentId) @elseif($teacherId && empty($studentOptions)) @endif