@foreach ($parameters as $parameter)
@php
$parameterIndex = strtr($parameter, [
'field_' => '',
'button_' => '',
]);
@endphp
@if ($subjectType == 'button')
@isset($buttonItems[$iterationIndex])
@if($buttonItems[$iterationIndex]['type'] == 'URL')
{{ $buttonItems[$iterationIndex]['text'] }} - {{ $buttonItems[$iterationIndex]['url'] }}
@elseif($buttonItems[$iterationIndex]['type'] == 'COPY_CODE')
{{ $buttonItems[$iterationIndex]['text'] }}
@endif
@endisset
@endif
@endforeach