This commit is contained in:
2018-06-02 01:42:15 +02:00
parent fb300b372b
commit 65a65b8caa

View File

@@ -40,9 +40,9 @@
<td>{!! $teams->find($match->teamb)->name !!}</td> <td>{!! $teams->find($match->teamb)->name !!}</td>
<td>{!! $match->resulta . ':' . $match->resultb !!}</td> <td>{!! $match->resulta . ':' . $match->resultb !!}</td>
<td>{!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resulta')->first() !!}</td> <td>{!! $tipps->where('matchid', 1)->first()->resulta . ':' . $tipps->where('matchid', 1)->first()->resultb !!}</td>
<td> <td>
@if($tipps->where('matchid', $match->id)->first()->resulta != null) @if($tipps->where('matchid', $match->id)->first()->resulta == null)
<!-- Edit --> <!-- Edit -->
{!! Form::model($match, ['method' => 'GET', 'action' => ['PagesController@createTipp', $match->id], 'style' => 'display:inline-block;']) !!} {!! Form::model($match, ['method' => 'GET', 'action' => ['PagesController@createTipp', $match->id], 'style' => 'display:inline-block;']) !!}
<button class="btn btn-primary" type="submit">Tipp!<button> <button class="btn btn-primary" type="submit">Tipp!<button>