@php
$disp = [
    ['code' => 0, 'name' => '表示'],
    ['code' => 1, 'name' => '非表示'],
];


$image_kind = [
    ['code' => 1, 'name' => '外観'],
    ['code' => 2, 'name' => '内装'],
    ['code' => 3, 'name' => '駐車場'],
    ['code' => 4, 'name' => 'キッズスペース'],
    ['code' => 0, 'name' => '未選択'],
];

@endphp
<tr>
  <td colspan="7">
      <div class="d-flex">
          <div>
            <div class="p-add-photo">
            <img src="{{$photo->file_path}}" width="200" />
            <canvas name="canvas" width="0" height="0"></canvas>
            </div>
          </div>
          <div>
              <div class="ml10 d-flex">
                  <div>
                      分類
                      @include('admin.objects.components.radio', ['name' => 'photo_property_'.$loop->iteration, 'radio' => $image_kind, 'default' => 0, 'checked' => $photo->property])
                  </div>

              </div>
              <div class="mt10 ml10">
                  @include('admin.objects.components.textarea', ['name' => 'photo_comment_'.$loop->iteration, 'class' => 'img_text', 'count' => 50, 'placeholder' => '５０文字以内で入力してください', 'value' => $photo->memo])
              </div>
          </div>
      </div>
    </td>
    <td class="p-regist__table-registtrader">
        @include('admin.objects.components.hidden', ['name' => 'store_photo_id_'.$loop->iteration, 'value' => $photo->id])
        @include('admin.objects.components.radio-image', ['name' => 'photo_list', 'radio' => ['code' => $photo->id, 'name' => '一覧用'], 'num' => $num, 'checked' => $photo->list])
        @include('admin.objects.components.btn', ['name' => 'del_store_photo', 'class' => '', 'title' => '削除', 'type' => 'button'])
    </td>
</tr>