Skip to content

Instantly share code, notes, and snippets.

@MattCheely
Created March 24, 2012 00:43
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 MattCheely/2176799 to your computer and use it in GitHub Desktop.
Save MattCheely/2176799 to your computer and use it in GitHub Desktop.
Sample Templates
<div class="field {{classFromName}} {{#required}}required{{/required}}">
<label for="{{id}}">
{{label}}
{{#required}}
<span class="required">{{#i18n}}input.required{{/i18n}}</span>
{{/required}}
</label>
<input type="text" name="{{name}}" value="{{value}}" id="{{id}}"/>
{{#errors}}
<div class="error">{{message}}</div>
{{#errors}}
</div>
<h1>Section heading</h1>
<p class="description">
{{description}}
</p>
{{content}}
<ul class="actions">
{{#actions}}
<a href="{{url}}">{{text}}</a>
{{/actions}}
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment