23 lines
763 B
PHP
23 lines
763 B
PHP
@extends('master')
|
|
@section('body')
|
|
<div id="choicebox">
|
|
|
|
<h1> {{ $category->name }}</h1>
|
|
<div class="row">
|
|
<div class="col-s9">
|
|
|
|
@foreach ($category->contents as $content)
|
|
<a class="waves-effect waves-light btn-large" href="/content/{{ $content->href }}">
|
|
{{ $content->name }}
|
|
</a>
|
|
@endforeach
|
|
@foreach ($category->subcategories as $subcategory)
|
|
<a class="waves-effect waves-light btn-large" href="/category/{{ $subcategory->path }}">
|
|
{{ $subcategory->name }}
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|