@foreach($customs as $custom)
    <tr>
        <th colspan="2">
            <div class="d-flex justify-content-between">
                <div class="search_target_title">【オリジナル】<br />{{ $custom->name }}</div>
                <span class="search_target">検索</span>
            </div>
        </th>

        <td>
        @switch($custom->type)
            @case(1)
                @include('admin.objects.components.checkbox', ['name' => "original[{$custom->code}]",'i' => $custom->code, 'checkbox' => $custom->content])
                @break
            @case(2)
                @include('admin.objects.components.selectbox', ['name' => "original[{$custom->code}]", 'i' => $custom->code, 'options' => $custom->content, 'title' => '未'])
                @break
            @case(3)
                @include('admin.objects.components.textarea', ['name' => "original[{$custom->code}]", 'i' => $custom->code, 'class' => 'w500', 'count' => 100, 'placeholder' => $custom->content])
                @break
        @endswitch
        </td>
    </tr>
@endforeach
