Added HTML Helpers from Laravelcollective

This commit is contained in:
Torsten 2017-06-21 17:12:07 +02:00
parent 0736ecf29f
commit b5c1f40a45
31 changed files with 614 additions and 220 deletions

View file

@ -5,24 +5,28 @@
<div class="container">
@if ($activeSeason)
<label>Aktive Saison:{{ $activeSeason->name }}</label>
<label>Saison:{{ $activeSeason->name }}</label>
@endif
<div class="lead">Runden Liste</div>
<div class="lead">Runden</div>
<div><a href="/rounds/create" class="btn btn-primary">Runde hinzufügen</a></div>
<p>&nbsp;</p>
@if ($activeSeason)
<div>
<ul>
@foreach($rounds as $round)
<li class="text list-unstyled">{{ $round->name }}</li>
@foreach($rounds->reverse() as $round)
<div><a class="text lead" href="/rounds/editname/{{ $round->id }}">{{ $round->name }} </a></div>
@foreach($round->games as $game)
<div><a class="text" href="/games/edit/{{ $game->id }}">{{ $game->team1 }} : {{ $game->team2 }} [ Anstoss {{ $game->kickoff }} ] </a></div>
@endforeach
</ul>
<p>&nbsp;</p>
@endforeach
</div>
@endif
<div><a href="/rounds/create" class="btn btn-primary">Neue anlegen</a></div>