<div class="container my-2">
    <div class="row">
        @foreach($rooms as $row)
        <div class="col-sm-6 my-2 room_{{$row->id}}" >
            <div class="card bg-light p-2 rounded">
                <div class="row">
                    <div class="col-6">
                        <table>
                            <tr>
                                <td> <img class='px-2' src="{{asset('images/user/user-1.png')}}" alt=""></td>
                                <td>
                                    <sapn class='fw-bold text-dark'>{{(Auth::user()->locale) ? $row->title_en : $row->title_ar}}</sapn>
                                    <br> <span>{{__('nadel.persons')}} : <b class='bg-o fw-bold'>{{$row->persons}}</b></span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <!--end div-6//-->
                    <div class="col-6 text-end align-self-center">

                        <a class="text-decoration-none px-1 " target="_blank" href="{{url('rooms/edit')}}/{{$row->id}}">
                            <span class="edit_icon">
                            <i class="bi bi-pen"></i>
                        </span>
                        <span class="px-1 e-text">{{__('nadel.edit')}}</span></a>
                        <a class="text-decoration-none px-1 delete-room"  data-value = "{{$row->id}}" href="#" >
                            <span class="edit_icon">
                            <i class="bi bi-trash"></i>
                            </span>
                            <span class="px-1">{{__('nadel.delete')}}</span>
                        </a>
                    </div>
                </div>
            </div>
            <!--the card complete-->
    </div>
    <!--the colum-6 here complete-->
    @endforeach
</div>
