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

Video spørgsmålsboks

@include('common.flash_messages') @if($questions && count($questions) > 0)
@foreach($questions as $question)

{{$question->title}}

{{$question->Replies->count()}} {{ Str::plural('video',$question->Replies->count()) }}
Kategori: {{$question->category->title}} @if ($question->created_at->diffInMonths(\Illuminate\Support\Carbon::now()) >= 1) {{ Carbon::parse($question->created_at)->format('d-m-Y h:i A') }} @else {{ $question->created_at->diffForHumans() }} @endif
@endforeach
@else
Ingen Spørgsmål Fundet.
@endif
{{ $questions->appends($_GET)->links() }}
@include('partials.app.question',['refresh'=>'yes']) @endsection