Rangliste almost done
This commit is contained in:
parent
12651fc2e8
commit
43fd8c8cbf
579 changed files with 172489 additions and 127 deletions
|
|
@ -13,12 +13,21 @@
|
|||
{{ csrf_field() }}
|
||||
<div class="form-group">
|
||||
|
||||
<input style="float:left; width:50px;" type="text" class="lead" id="name" name="score1" value="{{ $tipp->score1 }}" required>
|
||||
<input style="float:left; width:50px;" type="text" class="lead" id="name" name="score1" value="{{ $tipp->score1==-1? '': $tipp->score1 }}" required>
|
||||
<p style="float:left; width:25px;"> : </p>
|
||||
<input style="float:left; width:50px;" type="text" class="lead" id="name" name="score2" value="{{ $tipp->score2 }}" required>
|
||||
<input style="float:left; width:50px;" type="text" class="lead" id="name" name="score2" value="{{ $tipp->score2==-1? '': $tipp->score2 }}" required>
|
||||
|
||||
<label class="lead">Joker: </label>
|
||||
{{ Form::checkbox('joker', 'yes', $tipp->joker ) }} <!-- name, value, checked -->
|
||||
<label class="lead" style="float:left; width:50px;">Joker: </label>
|
||||
|
||||
<div style="float:left;width:300px;">
|
||||
|
||||
@if (App\Round::hasLockedGame($game->round_id))
|
||||
{{ Form::checkbox('joker', 'yes', $tipp->joker, array('disabled') ) }} <!-- name, value, checked -->
|
||||
<label style="float:left;width:500px;color:red;">Joker kann nicht verändert werden, weil die Runde bereits begonnen hat</label>
|
||||
@else
|
||||
{{ Form::checkbox('joker', 'yes', $tipp->joker) }} <!-- name, value, checked -->
|
||||
@endif
|
||||
</div>
|
||||
<input type="hidden" name="id" value="{{ $tipp->id }}">
|
||||
<input type="hidden" name="round_id" value="{{ $game->round_id }}">
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue