@forelse($templates as $template) @empty @endforelse
양식명 분류 문서 제목 연결 품목 섹션 컬럼 미리보기 활성 수정일 작업
{{ $template->name }} @if($template->category) {{ $template->category }} @else - @endif {{ $template->title ?: '-' }} @php $linkedIds = $template->linked_item_ids ?? []; $linkedCount = count($linkedIds); @endphp @if($linkedCount > 0)
@foreach(array_slice($linkedIds, 0, 3) as $itemId) {{ $itemNames[$itemId] ?? 'ID:'.$itemId }} @endforeach @if($linkedCount > 3) +{{ $linkedCount - 3 }} @endif
@else - @endif
{{ $template->sections_count ?? 0 }} {{ $template->columns_count ?? 0 }} {{ $template->updated_at->format('Y-m-d') }}
@if(!empty($showTrashed)) @else @endif

등록된 문서양식이 없습니다.

+ 새 양식 만들기
@if($templates->hasPages())
@include('partials.pagination', ['paginator' => $templates, 'htmxTarget' => '#template-table', 'htmxTrigger' => 'filterSubmit'])
@endif