if($view == ''){ $view = ViewType::Grid; } $collection = $collection ?? null; $ebooks = $ebooks ?? []; ?>
= Formatter::EscapeHtml($ebook->Title) ?>
if($view == ViewType::Grid){ ?> foreach($ebook->Authors as $author){ ?> } ?> }else{ ?>= rtrim($ebook->ContributorsHtml, '.') ?>
= number_format($ebook->WordCount) ?> words • = $ebook->ReadingEase ?> reading ease