@extends('layouts.admin') @section('content-title') {{ __('faqs.Faqs Managements') }} @endsection @section('content-breadcrumbs') {{ Breadcrumbs::render('admin.faqs')}} @endsection @section('content')
@if(session()->has('success')) @endif @if(session()->has('deleted')) @endif @foreach($faqs as $faq) {{-- --}} @endforeach
{{ __('faqs.question') }} {{ __('faqs.reponse') }}
{{ $faq->question }} {{ $faq->reponse }}{{faq->order }} {{ __('admin.Edit') }} {!!Form::open()->locale('admin')->post()->route('admin.faq.delete')->attrs(['style'=>'display:inline'])!!} {!!Form::hidden('id')->value($faq->id)!!} {!!Form::submit(__('Delete'))->color("danger")!!} @if($faq->order>$minFaqOrder) @else          @endif @if($faq->order<$maxFaqOrder) @endif {!!Form::close()!!}
{{ $faqs->links() }}
@endsection