@if ($crud->entity_name_plural == 'Project Defects')
            @php
                $project_id = \Route::current()->parameter('project_id');
                $project = \App\Models\Project::findOrFail($project_id);
            @endphp
            
            
                
                    @if ($crud->buttons()->where('stack', 'top')->count() || $crud->exportButtons())
                        
                            @include('crud::inc.button_stack', ['stack' => 'top'])
                        
                    @endif
                
 
                
             
            {{-- Backpack List Filters --}}
            @if ($crud->filtersEnabled())
                @include('crud::inc.filters_navbar')
            @endif
            
                
                    
                        {{-- Table columns --}}
                        @foreach ($crud->columns() as $column)
                            |  if developer forced field in table with 'visibleInTable => true'
                        data-visible => regular visibility of the field
                        data-can-be-visible-in-table => prevents the column to be loaded into the table (export-only)
                        data-visible-in-modal => if column apears on responsive modal
                        data-visible-in-export => if this field is exportable
                        data-force-export => force export even if field are hidden
                    --}} {{-- If it is an export field only, we are done. --}}
                                @if (isset($column['exportOnlyField']) && $column['exportOnlyField'] === true) data-visible="false"
                      data-visible-in-table="false"
                      data-can-be-visible-in-table="false"
                      data-visible-in-modal="false"
                      data-visible-in-export="true"
                      data-force-export="true"
                    @else
                      data-visible-in-table="{{ var_export($column['visibleInTable'] ?? false) }}"
                      data-visible="{{ var_export($column['visibleInTable'] ?? true) }}"
                      data-can-be-visible-in-table="true"
                      data-visible-in-modal="{{ var_export($column['visibleInModal'] ?? true) }}"
                      @if (isset($column['visibleInExport']))
                         @if ($column['visibleInExport'] === false)
                           data-visible-in-export="false"
                           data-force-export="false"
                         @else
                           data-visible-in-export="true"
                           data-force-export="true" @endif
                            @else data-visible-in-export="true" data-force-export="false" @endif
                        @endif
                        >
                        {!! $column['label'] !!}
                         | 
                        @endforeach
                        @if ($crud->buttons()->where('stack', 'line')->count())
                            {{ trans('backpack::crud.actions') }} | 
                        @endif
                    
                
                
                
                
                    
                        {{-- Table columns --}}
                        @foreach ($crud->columns() as $column)
                            | {!! $column['label'] !!} | 
                        @endforeach
                        @if ($crud->buttons()->where('stack', 'line')->count())
                            {{ trans('backpack::crud.actions') }} | 
                        @endif
                    
                
            
            @if ($crud->buttons()->where('stack', 'bottom')->count())
                
                    @include('crud::inc.button_stack', ['stack' => 'bottom'])
                    
                
            @endif