@foreach ($appendixCategories as $repeatable_row_key => $appendixCategory)
{!! csrf_field() !!} {{-- load the view from the application if it exists, otherwise load the one in the package --}}

{{$appendixCategory?->appendixForm->title}}

{{$appendixCategory->title}}

@if ($hidden ?? false)
@endif
@php $appendixForms = $appendixCategory?->appendixForm?->appendixFormTfs; @endphp @if (!empty($appendixForms) && count($appendixForms)) @foreach($appendixForms as $key => $appendixForm) @php $field = [ 'type' => 'text', 'name' => 'appendixDataDetails['.$key.'][data]', 'label' => $appendixForm->title, 'wrapper' => [ 'class' => 'row col-md-11 offset-md-1 mt-2', ], ]; $name = 'appendixDataDetails['.$key.'][data]'; @endphp @if($appendixForm->type->label() == "Text")
@php $name = 'appendixDataDetails['.$key.'][appendix_form_tf_id]'; @endphp
@elseif($appendixForm->type->label() == "Datetime")
@php $name = 'appendixDataDetails['.$key.'][appendix_form_tf_id]'; @endphp
@elseif($appendixForm->type->label() == "Number")
@php $name = 'appendixDataDetails['.$key.'][appendix_form_tf_id]'; @endphp
@elseif($appendixForm->type->label() == "Textarea")
@php $name = 'appendixDataDetails['.$key.'][appendix_form_tf_id]'; @endphp
@endif @endforeach @endif
@if ($hidden ?? false)
@endif {{-- This makes sure that all field assets are loaded. --}}
{{ json_encode(Basset::loaded()) }}
@endforeach
@pushOnce('after_scripts') @endPushOnce