[% INCLUDE "header.tt" %] [% PROCESS "view_macros.tt" %]
View [% crud.moniker %]
[% crud.moniker | html %] '[% item | html %]' [% form_view_item(item); %] Edit | Delete
[% IF item.id != 1; #Hard coded to "In Shelf" %]
Books borrowed by [% item.name | html %]

[% FOR book IN item.books %]
- [% book.title | html %] - [% book.borrowed | html %] - [% END %]

[% END %] Add List [% INCLUDE "footer.tt" %]