diff --git a/tippspiel/resources/views/dashboard.blade.php b/tippspiel/resources/views/dashboard.blade.php index b66baf8..f32babe 100644 --- a/tippspiel/resources/views/dashboard.blade.php +++ b/tippspiel/resources/views/dashboard.blade.php @@ -40,9 +40,9 @@ {!! $teams->find($match->teamb)->name !!} {!! $match->resulta . ':' . $match->resultb !!} - {!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resulta')->first() !!} + {!! $tipps->where('matchid', 1)->first()->resulta . ':' . $tipps->where('matchid', 1)->first()->resultb !!} - @if($tipps->where('matchid', $match->id)->first()->resulta != null) + @if($tipps->where('matchid', $match->id)->first()->resulta == null) {!! Form::model($match, ['method' => 'GET', 'action' => ['PagesController@createTipp', $match->id], 'style' => 'display:inline-block;']) !!}