phpvms/resources/views/layouts/default/downloads/index.blade.php
2018-04-08 20:51:27 -05:00

28 lines
745 B
PHP

@extends('app')
@section('title', 'downloads')
@section('content')
@include('flash::message')
<div class="row">
<div class="row-sm-12">
<h2>Downloads</h2>
</div>
</div>
@if(!$grouped_files || \count($grouped_files) === 0)
<div class="jumbotron text-center">There are no downloads!</div>
@else
@foreach($grouped_files as $group => $files)
<div class="row" style="margin-bottom: 40px;">
<div class="col-12">
<h4 class="description">{{ $group }}</h4>
</div>
<div class="col-12">
@include('downloads.table', ['files' => $files])
</div>
</div>
@endforeach
@endif
@endsection