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