Skip to content

Instantly share code, notes, and snippets.

@lessless
Created February 15, 2015 09:17
Show Gist options
  • Save lessless/bc3ccc97cb00e0bcaa6f to your computer and use it in GitHub Desktop.
Save lessless/bc3ccc97cb00e0bcaa6f to your computer and use it in GitHub Desktop.
<div class="large-6 columns">
<label {{bind-attr class="nameErrors:error"}}>Name
{{input value=model.name placeholder="Name" required="true" class="nameErrors:error"}}
</label>
{{#if nameErrors}}
<small class="error">{{nameErrors}}</small>
{{/if}}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment