@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))
@endif
id)){{ "id=$display_options->id" }}@endif>
{{ $row->slugify }}
@if($row->field == 'product_hasmany_product_front_image_relationship')
@else
@endif
@include('voyager::multilingual.input-hidden-bread-edit-add')
@if($row->field == 'front_category_id')
@elseif($row->field == 'product_hasmany_product_front_image_relationship')