@extends('main.layouts.app') @section('content') {{-- Including CKFinder setup if required by the page --}} @include('ckfinder::setup')
{{-- Card Header: Contains the page title and primary action button --}}
{{-- Session Message Display: Provides feedback to the user after actions --}} @if (session('success')) @endif {{-- Responsive Wrapper: Ensures the table looks good on all screen sizes --}}
{{-- @forelse is a clean way to handle loops with an empty state --}} @forelse ($attributes as $attribute) @empty {{-- Empty state message when no attributes are found --}} @endforelse
Name Actions
{{ $attribute->name }} {{-- Action buttons grouped for consistency --}}
Edit {{-- Using d-inline instead of inline styles for the form --}}
@csrf @method('DELETE')
No attributes found.
{{-- Card Footer: A dedicated space for pagination links @if ($attributes->hasPages()) @endif --}}
@endsection