Skip to content

Instantly share code, notes, and snippets.

@jakecraige
Last active August 29, 2015 14:03
Show Gist options
  • Save jakecraige/c6b7e00dca59f5630d33 to your computer and use it in GitHub Desktop.
Save jakecraige/c6b7e00dca59f5630d33 to your computer and use it in GitHub Desktop.
{{#sortable-list list=model clickAction=editContact}}
<p>
{{model.length}}
<span class="name">
{{ name }}{{#if role}}
<em>, {{ role }}</em>
{{/if}}
</span>
</p>
{{/sortable-list}}
{{#each item in list}}
<li class="topcoat-list__item small drag-handle" {{action 'clickAction' this}}>
<div class="handle"></div>
{{#with item}}
{{yield}}
{{/with}}
</li>
{{/each}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment