@extends('backend.layout.app') @section('sub_header') @component('backend.layout.components.sub-header') @slot('title') {{$title }} @endslot {{ __('main.patients') }} @slot('toolbar')
  • {{ __('main.show-all') }} {{__('main.patients')}}
  • @endslot @endcomponent @endsection @section('content') @component('backend.layout.components.form-portlet') @slot('title') {{ $title }} @endslot @slot('prevUrl') {{ url()->previous() }} @endslot @slot('vueEvents') @click="send()" @endslot @slot('actions') @endslot
    @include('backend.patients._partials._fields', [ 'data' => collect($edit), 'action' => 'edit', ])
    @endcomponent @endsection @section('js_scripts') @include('backend.patients._partials._scripts', [ 'action' => 'edit', 'data' => collect($edit), 'submitUrl' => route('admin.patients.update', [$edit->id]), ]) @endsection