@extends('layouts.app') @section('content')

Datasets

Page {{ $documents->currentPage() }} of {{ $documents->lastPage() }}
@foreach($documents as $document) @if($document->hasProject()) @else @endif {{-- @endforeach
id Document Type Project Titles Options
{{ $document->id }} {{ $document->type }}{{ $document->project->name }}-- @foreach ($document->titles as $title)

title: {{ $title->value }}

@endforeach
@foreach ($document->collections as $collection)

in collection: {{ $collection->name }}

@endforeach --}}
   
{{ $documents ->appends(Input::except('page')) ->links('vendor.pagination.default') }}
{!! Form::close() !!}
@stop