@extends('layouts.layouts') @section('title', 'Add Book | Book Store') @section('header-title', 'Add a book') @section('content')

Catalogue

Add a printed book

Give readers the details they need to choose their next book.

@if ($categories->isEmpty())

Create a category first

Books need a category before they can be added. Add categories in the database, then return here.

@else
@include('books._form', ['submitLabel' => 'Add book'])
@endif @endsection