This commit is contained in:
m.zargarov 2024-06-16 12:24:07 +04:00
parent b33b694547
commit 48b191e345

View File

@ -40,7 +40,7 @@
<input type="date" id="lesson_date" name="lesson_date" class="form-control" value="{{ isset($lesson) ? $lesson->lesson_date : old('lesson_date') }}" required>
</div>
<input type="hidden" name="grade_id" value="{{ $grade->id }}">
<input type="hidden" name="teacher_id" value="{{ 1 }}"> {{-- заглушка --}}
<input type="hidden" name="teacher_id" value="{{ \Illuminate\Support\Facades\Auth::id() }}">
<div>
<button type="submit" class="btn btn-success">Подтвердить</button>
</div>