Edit admin #{{ $row['id'] }}
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf
@method('PUT')
@include('cms::components/form-fields/input', ['label' => 'Name', 'name' => 'name', 'type' => 'text', 'value' => $row->name, 'locale' => null ])
@include('cms::components/form-fields/image', ['label' => 'Image', 'name' => 'image', 'value' => $row->image, 'locale' => null ])
@include('cms::components/form-fields/input', ['label' => 'Email', 'name' => 'email', 'type' => 'text', 'value' => $row->email, 'locale' => null ])
@include('cms::components/form-fields/password-with-confirmation', ['label' => 'Password', 'name' => 'password', 'locale' => null ])
@include('cms::components/form-fields/select', ['label' => 'Role', 'name' => 'admin_role_id', 'options' => $admin_roles, 'store_column' => 'id', 'display_column' => 'title', 'value' => $row->admin_role_id, 'locale' => null ])