Skip to content

Instantly share code, notes, and snippets.

@chrisconley
Created June 23, 2011 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisconley/1042456 to your computer and use it in GitHub Desktop.
Save chrisconley/1042456 to your computer and use it in GitHub Desktop.
{{#collection "App.FieldsView" tagName="ul"}}
{{content.title}}
{{#bind content.type preserveContext=true}}
{{#if "isString"}}
<input type="text" name="something">{{hint}}
{{/if}}
{{#if "isSelect"}}
<select><option>Hello</option></select>
{{/if}}
{{/bind}}
{{/collection}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment