@extends('layouts.app') @section('title') {{ __('messages.visitor.edit') }} @endsection @section('page_css') {{-- --}} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{ Form::hidden('visitorUrl', route('visitors.index'), ['class' => 'visitorUrl']) }} {{ Form::hidden('utilsScript', asset('assets/js/int-tel/js/utils.min.js'), ['class' => 'utilsScript']) }} {{ Form::hidden('isEdit', true, ['class' => 'isEdit']) }} {{ Form::hidden('defaultDocumentImageUrl', asset('assets/img/default_image.jpg'), ['class' => 'defaultDocumentImageUrl']) }} {{ Form::model($visitor, ['route' => ['visitors.update', $visitor->id], 'files' => 'true', 'method' => 'patch', 'id' => 'editVisitorForm']) }} @include('visitors.fields') {{ Form::close() }}
@endsection {{--let visitorUrl = "{{ route('visitors.index') }}";--}} {{--let utilsScript = "{{asset('assets/js/int-tel/js/utils.min.js')}}";--}} {{--let isEdit = true;--}} {{--let defaultDocumentImageUrl = "{{ asset('assets/img/default_image.jpg') }}";--}} {{-- --}} {{-- --}}