@extends('layouts.app') @section('title', 'Edit guardian') @section('content')
@csrf @method('PUT')
Linked to {{ $students->count() }} {{ \Illuminate\Support\Str::plural('student', $students->count()) }}: {{ $students->map->fullName()->implode(', ') }}. Changes apply to all of them.
@foreach ([['name', 'Name', 6], ['phone', 'Mobile', 3], ['alternate_phone', 'Alternate mobile', 3], ['email', 'Email', 6], ['occupation', 'Occupation', 6], ['address', 'Address', 12]] as [$f, $l, $w])
@error($f)
{{ $message }}
@enderror
@endforeach @include('partials.custom-field-inputs', ['fields' => $customFields, 'values' => $customValues]) @can('students.view_sensitive')
@endcan
@endsection