@foreach($faqs as $faqs) @endforeach
Question Reponse Statut Action
{{ $faqs->question }} {{ $faqs->reponse }} {{ $faqs->statut == 1 ? 'Actif' : 'Désactivé' }} {!! Form::open(['route' => ['faqs.destroy', $faqs->id], 'method' => 'delete']) !!}
@can('faq.show') @endcan @can('faq.edit') @endcan @can('faq.delete') {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!} @endcan
{!! Form::close() !!}
@if ($faqs->count() > 0) @endif