@extends('layouts.app') @section('content')
@include('components.alert_success') @include('components.alert_error') @can('interest_groups_write') @endcan
@foreach($interestGroups as $interestGroup) @endforeach
# Nom parent Centres d'intérêt / qualifs
{{ $interestGroup->id }} {{ $interestGroup->label }} @if(isset($interestGroup->parent_id)) {{ $interestGroup->parent->label }} ({{ $interestGroup->parent->id }}) @else Aucun @endif @if($interestGroup->interests->count()) @foreach($interestGroup->interests as $interest) {{ $interest->label }} ({{ $interest->id }}),  @endforeach @else Aucun @endif @can('interest_groups_write') @endcan
{{ $interestGroups->links() }}
@endsection