Write tests - Write tests for what was done to this point that will be kept #11

Merged
okorpheus merged 61 commits from write-tests into master 2024-07-05 21:21:32 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 526dd453cc - Show all commits

View File

@ -3,7 +3,7 @@
<x-card.card>
<x-card.heading>Edit Student</x-card.heading>
<x-form.form method="PATCH" class="!pt-2 !pb-6 !space-y-2" action="{{route('students.update')}}">
<x-form.form method="PATCH" class="!pt-2 !pb-6 !space-y-2" action="{{route('students.update',$student)}}">
<x-form.field name="first_name" label_text="First Name" type="text" value="{{ $student->first_name }}"/>
<x-form.field name="last_name" label_text="Last Name" type="text" value="{{ $student->last_name }}"/>
<x-form.field name="grade" label_text="Grade" type="number" class="mb-3" value="{{ $student->grade }}"/>