@extends('layouts.app')

@section('title', 'Listado de ' . $entityPluralLabel)

@push('styles')
    <link rel="stylesheet" href="{{ asset('css/crud-custom.css') }}">
@endpush

@section('content')
    @include('administracion.crud.partials.header')

    @includeFirst([
        'administracion.crud.partials.table-' . $entity,
        'administracion.crud.partials.table',
    ])

    @includeFirst([
        'administracion.crud.partials.form-modal-' . $entity,
        'administracion.crud.partials.form-modal',
    ])

    @includeFirst([
        'administracion.crud.partials.detail-modal-' . $entity,
        'administracion.crud.partials.detail-modal',
    ])
@endsection

@push('scripts')
    @includeFirst([
        'administracion.crud.partials.scripts-' . $entity,
        'administracion.crud.partials.scripts',
    ])
@endpush
