This commit is contained in:
2018-06-02 01:40:55 +02:00
parent d93adc7e85
commit fb300b372b

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() . ':' !!}</td> <td>{!! $tipps->where('matchid', 1)->pluck('resulta')->first() . ':' . $tipps->where('matchid', 1)->pluck('resulta')->first() !!}</td>
<td> <td>
@if($tipps->where('matchid', $match->id)->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>