@php

$image_kind = [
    ['code' => 1, 'name' => '区画図'],
    ['code' => 2, 'name' => '間取り'],
    ['code' => 3, 'name' => '参考プラン'],
    ['code' => 0, 'name' => '未選択'],
];

$ad_conf = [
    ['code' => 1, 'name' => '未'],
    ['code' => 2, 'name' => '可'],
    ['code' => 3, 'name' => '不可'],
];

@endphp
<tr>
  <td colspan="5">
      <div class="d-flex">
          <div>
              @include('admin.objects.projects.image-upload', ['name' => 'image_kind', 'radio' => $image_kind, 'checked' => $test['image_kind']?? 0])
              <div class="mt10">
                  @include('admin.objects.components.switch', ['name' => 'image_kind', 'radio' => $image_kind, 'checked' => $test['image_kind']?? 0])
              </div>
          </div>
          <div>
              <div class="ml10 d-flex">
                  <div>
                      分類
                      @include('admin.objects.components.selectbox', ['name' => 'portal', 'options' => $ad_conf])
                  </div>
                  <div class="ml10">
                      種別
                      @include('admin.objects.components.selectbox', ['name' => 'portal', 'options' => $ad_conf])
                  </div>
              </div>
              <div class="mt10 ml10">
                  @include('admin.objects.components.textarea', ['name' => 'event_comment'])
              </div>
          </div>
      </div>
  </td>
  <td class="p-regist__table-registtrader">
  @include('admin.objects.components.btn', ['id' => 'all_ad', 'class' => 'btn_imagesave', 'title' => '新規保存'])
  </td>
</tr>