@if($contracts->isNotEmpty())
@foreach($contracts as $contract)
-
{{-- Título del contrato --}}
{{-- Submenu de secciones --}}
@if($contract->sections->isNotEmpty())
@foreach($contract->sections as $section)
-
{{ $section->title }}
@endforeach
@endif
@endforeach
@endif