<% extends 'skins/base.html' %>

<% subskin 'content' | markdown %>
<% message %>

Helma NG provides a unified Storage API that provides mapping of native JavaScript objects
to various database backends. Currently supported backends are:

 * **helma/storage/filestore** - simple file store using JSON
 * **helma/storage/memstore** - in memory database
 * **helma/storage/googlestore** - Google App Engine datastore

The Helma Storage API supports one-to-one, one-to-many and many-to-many relationships using
plain JavaScript object references and arrays.

### Add a new book

<form action="<% action %>" method="post">
     <div><label>Author: </label></div><div><input name="author" size="30"/></div>
     <div><label>Title: </label></div><div><input name="title" size="30"/></div>
     <p><input type="submit" name="save" value="Save"/></p>
</form>

### Available Books

<table cellspacing="0" cellpadding="3">
  <% for book in <% books %> render book %>
</table>

<% subskin 'book'  ----------------------------------- %>
<tr style="<% ifEven 'background-color: #eee;' %>">
   <td><% book.author.name %></td>
   <td><% book.title %></td>
   <td><a href="edit/<% book._id %>">[edit]</a></td>
   <td><a href="remove/<% book._id %>">[remove]</a></td>
</tr>
<% extends 'skins/base.html' %>

<% subskin 'content' | markdown %>
<% message %>

Helma NG provides a unified Storage API that provides mapping of native JavaScript objects
to various database backends. Currently supported backends are:

 * **helma/storage/filestore** - simple file store using JSON
 * **helma/storage/memstore** - in memory database
 * **helma/storage/googlestore** - Google App Engine datastore

The Helma Storage API supports one-to-one, one-to-many and many-to-many relationships using
plain JavaScript object references and arrays.

### Add a new book

<form action="<% action %>" method="post">
     <div><label>Author: </label></div><div><input name="author" size="30"/></div>
     <div><label>Title: </label></div><div><input name="title" size="30"/></div>
     <p><input type="submit" name="save" value="Save"/></p>
</form>

### Available Books

<table cellspacing="0" cellpadding="3">
  <% for book in <% books %> render book %>
</table>

<% subskin 'book'  ----------------------------------- %>
<tr style="<% ifEven 'background-color: #eee;' %>">
   <td><% book.author.name | escapeHtml %></td>
   <td><% book.title | escapeHtml %></td>
   <td><a href="edit/<% book._id %>">[edit]</a></td>
   <td><a href="remove/<% book._id %>">[remove]</a></td>
</tr>
Add escapeHtml filter to book listing
Add escapeHtml filter to book listing

git-svn-id: fac99be8204c57f0935f741ea919b5bf0077cdf6@9768 688a9155-6ab5-4160-a077-9df41f55a9e9
