@extends('layouts.main') @section('title', $title) @section('content')
{{ $title }}
@foreach($eventSponsor->toArray() as $key => $val) @if (is_array($val)) @if (!in_array($key, ['creator', 'editor'])) @foreach($val as $dKey => $dVal) @if ($dKey !== 'id' && !Str::endsWith($dKey, '_id') && !Str::endsWith($dKey, '_by')) @endif @endforeach @endif @elseif ($key !== 'id' && !Str::endsWith($key, '_id') && !Str::endsWith($key, '_by')) @endif @endforeach
{!! __('general.' . $key) !!}
{!! __('validation.attributes.' . $dKey) == 'validation.attributes.' . $dKey ? $dKey : __('validation.attributes.' . $dKey) !!} {!! $dVal !!}
{!! __('validation.attributes.' . $key) == 'validation.attributes.' . $key ? $key : __('validation.attributes.' . $key) !!} {!! $val !!}
@endsection