Skip to content

Instantly share code, notes, and snippets.

@morsdyce
Created November 3, 2012 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morsdyce/4006722 to your computer and use it in GitHub Desktop.
Save morsdyce/4006722 to your computer and use it in GitHub Desktop.
<viewdata model="IEnumerable<Book>" />
<content name="page-title">
BookList
</content>
<content name="main-content">
<h2>BookList</h2>
<div each="var book in Model">
Book Id: ${ book.Id } <br />
Book Author: ${ book.Author } <br />
Book Name: ${ book.Name } <br />
</div>
</content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment