elabs/serenade.js — Issue #26: Collection index
Author: ewollesen
Created: 2012-02-23 15:23:13+00:00
State: open

I'm wondering if there's a way to expose an index for collections, something like this:

``` coffee
Serenade.view "product", '''
div
input[type="text" name="product[@index][weight]" value=@weight]
input[type="text" name="product[@index][price]" value=@price]
'''
```
```
Serenade.view "store", '''
div
- collection @products
- view "product"
'''
```

From this email thread in the google group: https://groups.google.com/forum/#!topic/serenadejs/tlHmHnvybig