<table>
    <thead>
    <tr>
        @if($user->disabledColumn('title','countries'))
            <th scope="col">{{ __('countries.title') }}</th>
        @endif
        @if($user->disabledColumn('country_key','countries'))
            <th scope="col">{{ __('countries.country_key') }}</th>
        @endif
        @if($user->disabledColumn('created_at','countries'))
            <th scope="col" >{{ __('dashboard.created_at') }}</th>
        @endif
    </tr>
    </thead>
    <tbody class="response">
    @foreach($countries as $key=> $row)
        <tr>
            @if($user->disabledColumn('title','countries'))
                <td>{{ $row->title }}</td>
            @endif
            @if($user->disabledColumn('country_key','countries'))
                <td>{{ $row->country_key }}</td>
            @endif
            @if($user->disabledColumn('created_at','countries'))
                <td>{{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }}</td>
            @endif
        </tr>
    @endforeach
    </tbody>
</table>
