Add search-help to the book page.

This commit is contained in:
barnold 2022-09-26 09:19:56 +01:00
parent 9f16a10009
commit 922273a562
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
% title 'Books';
<h1><%= title %></h1>
Some books have no associated author. To search for these, use
author like '[no author]'.
<p/>
<%# On a new search, reset the page number to 1. %>
%= form_for books => { page_number => 1 } => begin
%= label_for title_like => 'Title like'