cineflex/resources/views/main/cinemas/index.blade.php

16 lines
383 B
PHP

@extends('main.layout')
@section('content')
<h1>{{ config('app.name', 'CineFlex') }}</h1>
<hr/>
<h2>Cinemas</h2>
<ul>
@foreach($cinemas as $cinema)
<li>
<a href="{{ route('cinema', ['id' => $cinema->id]) }}">
{{ $cinema->name }}
</a>
</li>
@endforeach
</ul>
@endsection