Created
April 17, 2013 16:19
-
-
Save colinmegill/5405623 to your computer and use it in GitHub Desktop.
This is an example each block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#each models}}<!-- the each block iterates like a foreach block over the given context models --> | |
<div> | |
{{this.attributes.name}}<!--this refers to the current model in the array models --> | |
</div> | |
{{/each}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment