Skip to content

Instantly share code, notes, and snippets.

@barnes7td
Created February 3, 2015 17:48
Show Gist options
  • Save barnes7td/10799d7476ce1e839d14 to your computer and use it in GitHub Desktop.
Save barnes7td/10799d7476ce1e839d14 to your computer and use it in GitHub Desktop.
HTML ID fix
- @items.each do |item|
= item.name
= link_to "", [item.list, item], method: :delete, { class: 'glyphicon glyphicon-ok', id: "item-#{item.id}" }, remote: true
%br/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment