@php $edit = !is_null($dataTypeContent->getKey()); $add = is_null($dataTypeContent->getKey()); @endphp @extends('voyager::master') @section('css') @stop @section('page_title', __('voyager::generic.'.($edit ? 'edit' : 'add')).' '.$dataType->getTranslatedAttribute('display_name_singular')) @section('page_header')

{{ __('voyager::generic.'.($edit ? 'edit' : 'add')).' '.$dataType->getTranslatedAttribute('display_name_singular') }}

@include('voyager::multilingual.language-selector') @stop @section('content')
@if($edit) {{ method_field("PUT") }} @endif {{ csrf_field() }}
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @php $dataTypeRows = $dataType->{($edit ? 'editRows' : 'addRows' )}; @endphp @foreach($dataTypeRows as $row) @php $display_options = $row->details->display ?? NULL; if ($dataTypeContent->{$row->field.'_'.($edit ? 'edit' : 'add')}) { $dataTypeContent->{$row->field} = $dataTypeContent->{$row->field.'_'.($edit ? 'edit' : 'add')}; } @endphp @if (isset($row->details->legend) && isset($row->details->legend->text)) {{ $row->details->legend->text }} @endif @endforeach {{--
--}}
{{-- --}} {{-- --}} {{-- --}}
اضافة الموقع
مسح الموقع
{{-- --}} {{-- --}} {{-- --}} @if($edit) @if($request) @foreach($request->locations()->get() as $OP)
Fatal error: Uncaught Error: Class "App\Models\Request" not found in /home/tyasart/public_html/resources/views/vendor/voyager/requests/edit-add.blade.php:137 Stack trace: #0 {main} thrown in /home/tyasart/public_html/resources/views/vendor/voyager/requests/edit-add.blade.php on line 137
المواقع