{{ $title ?? "Form Title" }}

@csrf @method($actionMethod)
@include('admin.partials.inputs.input-field', [ 'name' => 'name', 'value' => isset($item) ? $item->name : '', 'label' => 'Name', 'required' => true ])
@include('admin.partials.inputs.input-field', [ 'name' => 'email', 'value' => isset($item) ? $item?->email : '', 'label' => 'Email', 'required' => true, 'type' => 'email' ])
@include('admin.partials.inputs.input-field', [ 'name' => 'password', 'value' => '', 'label' => 'Password', 'required' => !isset($item), 'type' => 'password' ])