@extends('layout') @section('content')
{{ $book->name }} @if ($book->author_id) by {{ $book->author->name }} @endif