@if ($item->html->count() == 0)
{{-- Aucun HMTL associƩ --}}
@component('components.cards.empty')
{{ $html->name }}
{!! App\DgcHelpers::getBadge($html->status, trans('bdd.htmls.status.enums')) !!}
@isset($html->published_at)
{{ trans('labels.LbTitlePublicationDate', ['date' => $html->published_at->format('d/m/Y')]) }}
@endisset
@can('surveys_export')
@isset($html->published_at)
@component('components.buttons.html_export_results',['htmlId'=> $html->id])@endcomponent
@endisset
@endcan
@can('htmls_index')
{!! config('dgc-icons.file-html') !!}
@endcan
@component('components.buttons.html_test',['htmlId'=> $html->id, 'survey' => $item])@endcomponent
@endforeach
@endcomponent
@endif