Fix
This commit is contained in:
@@ -40,9 +40,9 @@
|
||||
<td>{!! $teams->find($match->teamb)->name !!}</td>
|
||||
<td>{!! $match->resulta . ':' . $match->resultb !!}</td>
|
||||
|
||||
<td>{!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resultb')->first() !!}</td>
|
||||
<td>{!! ($temp1 = $tipps->where('matchid', 1)->pluck('resulta')->first()) ? $temp1 : '-' . ':' . ($temp2 = $tipps->where('matchid', 1)->pluck('resultb')->first()) ? $temp2 : '-' !!}</td>
|
||||
<td>
|
||||
@if($tipps->where('matchid', $match->id)->first()->resulta == null)
|
||||
@if($tipps->where('matchid', $match->id)->pluck('resulta')->first() == null)
|
||||
<!-- Edit -->
|
||||
{!! Form::model($match, ['method' => 'GET', 'action' => ['PagesController@createTipp', $match->id], 'style' => 'display:inline-block;']) !!}
|
||||
<button class="btn btn-primary" type="submit">Tipp!<button>
|
||||
|
Reference in New Issue
Block a user