@extends('layouts.admin') @section('content')

Gerenciar FAQs

@can('faq-create') Novo FAQ @endcan
Perguntas Frequentes
@forelse($faqs as $item) {{-- ORDEM --}} {{-- PERGUNTA --}} {{-- RESPOSTA --}} {{-- LINK --}} {{-- STATUS --}} {{-- AÇÕES --}} @empty @endforelse
Ordem Pergunta Resposta Link Status Ações
{{ $item->ordem ?? '-' }}
{{ $item->created_at->format('d/m/Y') }}
{{ $item->created_at->format('H:i') }}
{{ $item->faq_pergunta }} {{ \Illuminate\Support\Str::limit(strip_tags($item->faq_resposta), 120) }} {{ \Illuminate\Support\Str::limit($item->faq_url, 60) }} @if($item->faq_pub) Ativo @else Inativo @endif @can('faq-edit') @endcan @can('faq-delete')
@csrf @method('DELETE')
@endcan
Nenhum FAQ cadastrado.
@endsection @push('scripts') @endpush