<%= @author.name %>'s Book

<% if @book.errors.any? %>
<% @book.errors.full_messages.each do |message| %>
<%= message %>
<% end %>
<% end %> <%= form_for @book, url: author_books_path(@author) do |f| %>
<%= f.label :title %> <%= f.text_field :title %>
<%= f.label :description %> <%= f.text_area :description %>
<% end %>