@extends('layouts.layout') @section('content')

{{$round->name}}

 

{{ csrf_field() }}

{{ $game1->team1 }}   :   {{ $game1->team2 }}

  :  

@if (App\Round::hasLockedGame($game1->round_id)) {{ Form::checkbox('joker_1', 'yes', $tipp1->joker, array('disabled') ) }} @else {{ Form::checkbox('joker_1', 'yes', $tipp1->joker) }} @endif

 

{{ $game2->team1 }}   :   {{ $game2->team2 }}

  :  

@if (App\Round::hasLockedGame($game2->round_id)) {{ Form::checkbox('joker_2', 'yes', $tipp2->joker, array('disabled') ) }} @else {{ Form::checkbox('joker_2', 'yes', $tipp2->joker) }} @endif

 

{{ $game3->team1 }}   :   {{ $game3->team2 }}

  :  

@if (App\Round::hasLockedGame($game3->round_id)) {{ Form::checkbox('joker_3', 'yes', $tipp3->joker, array('disabled') ) }} @else {{ Form::checkbox('joker_3', 'yes', $tipp3->joker) }} @endif

 

{{ $game4->team1 }}   :   {{ $game4->team2 }}

  :  

@if (App\Round::hasLockedGame($game4->round_id)) {{ Form::checkbox('joker_4', 'yes', $tipp4->joker, array('disabled') ) }} @else {{ Form::checkbox('joker_4', 'yes', $tipp4->joker) }} @endif


 

Joker setzen auf:

@if (App\Round::hasLockedGame($game1->round_id)) joker) checked="checked" @endif > @else joker) checked="checked" @endif > @endif
@if (App\Round::hasLockedGame($game2->round_id)) joker) checked="checked" @endif > @else joker) checked="checked" @endif > @endif
@if (App\Round::hasLockedGame($game3->round_id)) joker) checked="checked" @endif > @else joker) checked="checked" @endif > @endif
@if (App\Round::hasLockedGame($game4->round_id)) joker) checked="checked" @endif > @else joker) checked="checked" @endif > @endif

 

@endsection