@php
$dataTypeRows = $dataType->{($edit ? 'editRows' : 'addRows' )};
$exclude = ['title', 'body', 'excerpt', 'slug', 'status', 'category_id', 'author_id', 'featured', 'image', 'meta_description', 'meta_keywords', 'seo_title'];
@endphp
@foreach($dataTypeRows as $row)
@if(!in_array($row->field, $exclude))
@php
$display_options = $row->details->display ?? NULL;
@endphp
@if (isset($row->details->formfields_custom))
@include('voyager::formfields.custom.' . $row->details->formfields_custom)
@else
id)){{ "id=$display_options->id" }}@endif>
{{ $row->slugify }}
@include('voyager::multilingual.input-hidden-bread-edit-add')
@if($row->type == 'relationship')
@include('voyager::formfields.relationship', ['options' => $row->details])
@else
{!! app('voyager')->formField($row, $dataType, $dataTypeContent) !!}
@endif
@foreach (app('voyager')->afterFormFields($row, $dataType, $dataTypeContent) as $after)
{!! $after->handle($row, $dataType, $dataTypeContent) !!}
@endforeach
@endif
@endif
@endforeach