43 lines
No EOL
2 KiB
PHP
43 lines
No EOL
2 KiB
PHP
@extends('layouts.layout')
|
|
|
|
@section('content')
|
|
<div class="col-md-8">
|
|
|
|
<h1>Spiel bearbeiten</h1>
|
|
|
|
<form method="POST" action="/games/store">
|
|
{{ csrf_field() }}
|
|
<div class="form-group">
|
|
|
|
<div style="float:left; width:150px">
|
|
<input type="text" class="form-control" id="team1" name="team1" value="{{ $game->team1 }}" required>
|
|
</div>
|
|
<div style="float:left; width:150px">
|
|
<input type="text" class="form-control" id="team2" name="team2" value="{{ $game->team2 }}" required>
|
|
</div>
|
|
<div style="float:left; width:25px"> </div>
|
|
<div style="float:left; width:40px">
|
|
<input type="text" class="form-control" id="score1" name="score1" value="{{ $game->score1 }}" required>
|
|
</div>
|
|
<div style="float:left; width:15px"> : </div>
|
|
<div style="float:left; width:40px">
|
|
<input type="text" class="form-control" id="score2" name="score2" value="{{ $game->score2}}" required>
|
|
</div>
|
|
<div style="float:left; width:25px"> </div>
|
|
<!--<div style="float:left; width:175px">-->
|
|
<div style="float:left; width:225px">
|
|
<!-- <input type="datetime-local" class="form-control" id="kickoff" name="kickoff" value="{{ $game->kickoff}}" required> -->
|
|
<input type="text" class="has_datepicker" id="kickoff" name="kickoff" value="{{ $game->kickoff }}" required>
|
|
|
|
</div>
|
|
<input type="hidden" name="id" value="{{ $game->id }}">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<button type="submit" class="btn btn-primary">Ok</button>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
</div>
|
|
@endsection |