Skip to content

Instantly share code, notes, and snippets.

@superlou
Created January 11, 2016 00:41
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 superlou/d22080eef50a6f19d3f5 to your computer and use it in GitHub Desktop.
Save superlou/d22080eef50a6f19d3f5 to your computer and use it in GitHub Desktop.
ember-sortable weirdness
{{#sortable-group tagName="div" onChange="reorderPlaces" as |group|}}
{{#each placesSorted as |place|}}
{{#sortable-item tagName="div" model=place group=group class='reservable'}}
{{place.name}}
{{/sortable-item}}
{{/each}}
{{/sortable-group}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment