@extends('layouts.app') @section('title') Tags @endsection @section('page-title') Tags Gestion @endsection @section('button-top') Créer un tag @endsection @section('content')
{{--

Striped rows

Use .table-striped to add zebra-striping to any table row within the <tbody>.

--}} @if (count($tags)) @foreach ($tags as $tag) @endforeach @else @endif
# Tag Comptes Consultations Gestion
{{ $tag->id }} {{ $tag->name }} @php $i = 0; @endphp @foreach($tag->comptes as $compte) @if ($i == 2) @php break; @endphp @else {{ str_limit($compte->name) }}
@endif @php $i++; @endphp @endforeach @if (count($tag->comptes) > 2) et {{ count($tag->comptes) - 2}} autre(s) @endif
@php $i = 0; @endphp @foreach($tag->consultations as $consultation) @if ($i == 2) @php break; @endphp @else {{ str_limit($consultation->title, 40, '...') }}
@endif @php $i++; @endphp @endforeach @if (count($tag->consultations) > 2) et {{ count($tag->consultations) - 2}} autre(s) @endif
@include('tags.delete_modal', ['tag' => $tag])
Aucun tag
Créer un tag
@endsection