@foreach($wbsettings as $key=> $row)
<tr>
    <th scope="row">
        <div class="custom-control custom-checkbox">
            <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck{{$row->id}}" value="{{$row->id}}" name="id[]">
            <label class="custom-control-label" for="customCheck{{$row->id}}">{{-- $row->id --}}</label>
        </div>
    </th>
     
    <td>{{ $row->key }}</td>
    <td>{{ $row->value }}</td>
   
    <td colspan="2">{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
    <td>
        @if($row->deleted_at)
            <a href="{{ route ('wbsettings.restore', $row->id) }}" data-method="put" class="icon rowAction" title="{{ __('dashboard.restore') }}"><img src="{{ asset('assets/admin/images/icons/restore.svg') }}" alt="{{ __('dashboard.restore') }}"></a>


        @else
            <a href="{{ route ('wbsettings.edit', $row->id) }}" class="icon" title="{{ __('dashboard.edit') }}"><img src="{{ asset('assets/admin/images/icons/draw.svg') }}" alt="{{ __('dashboard.edit') }}"></a>


        @endif
    </td>
</tr>
@endforeach

@if( count( $wbsettings ) && $wbsettings->hasPages() )
<tr> <td> {{ $wbsettings->links() }} </td> </tr>
@endif
