mega-commit: migrations, controllers, models, etc.

This commit is contained in:
Didier Slof 2022-12-08 09:30:07 +01:00
parent 9732135e90
commit 2c6745e812
Signed by: didier
GPG key ID: 01E71F18AA4398E5
70 changed files with 2124 additions and 400 deletions

View file

@ -0,0 +1,21 @@
@extends('main.layout')
@section('content')
<section>
<h1>Now playing:</h1>
<hr/>
<div id="movies">
@foreach($showings as $showing)
<a href="/movie/{{$showing->movie->movie_id}}">
<img src="{{$showing->movie->movie_image}}" alt="{{$showing->movie->movie_name}} Poster"
width="200px">
<div class="details">
<span>{{$showing->movie->movie_name}}</span><br/>
<span>{{$showing->movie->movie_length}} min</span>
</div>
</a>
@endforeach
</section>
@endsection