Added HTML Helpers from Laravelcollective
This commit is contained in:
parent
0736ecf29f
commit
b5c1f40a45
31 changed files with 614 additions and 220 deletions
43
pfosten/resources/views/games/edit.blade.php
Normal file
43
pfosten/resources/views/games/edit.blade.php
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue