@extends('hello'); @section('content')
Meistgewünschter Film

{{$topfilm->name}}

 {{$topfilm->upvotes}}  {{$topfilm->downvotes}}

@if(!is_null(Auth::user()) && Auth::user()->admin) id) }}' class='btn btn-success btn-xs'>Als nächstes sehen @endif
{{ link_to_route('film', "Filmdetails", array($topfilm->id), array('class' => 'list-group-item'))}}
Nächster Film

{{is_object($nextfilm) ? $nextfilm->name : "Steht nicht fest"}}

@if(is_object($nextfilm) && !is_null(Auth::user()) && Auth::user()->admin) id) }}' class='btn btn-success btn-xs'>Gesehen @endif
@if(is_object($nextfilm))
{{ link_to_route('film', "Filmdetails", array($nextfilm->id), array('class' => 'list-group-item'))}}
@endif
Neue Vorschläge
@foreach ($vorgeschlagen as $film) {{$film->name}} ({{ $film->besitzer->name }}) @endforeach
Gesehene Filme
@foreach ($gesehen as $film) {{ link_to_route('film', $film->name, array($film->id), array('class' => 'list-group-item'))}} @endforeach
@foreach ($news as $new)

{{$new->headline}} {{$new->ersteller->name}} - {{\Carbon\Carbon::parse($new->updated_at)->format('d.m.Y')}}

{{nl2br(htmlentities($new->body))}}
@endforeach
@stop