notes are working

This commit is contained in:
albert
2011-05-30 01:23:07 -04:00
parent 9e287726e3
commit 5d4ff96cbc
4 changed files with 33 additions and 8 deletions

View File

@@ -1,3 +1,3 @@
<% notes.each do |note| %>
<%= content_tag(:article, "", "data-width" => note.width, "data-height" => note.height, "data-x" => note.x, "data-y" => note.y, "data-body" => note.body) %>
<%= content_tag(:article, "", "data-width" => note.width, "data-height" => note.height, "data-x" => note.x, "data-y" => note.y, "data-body" => note.body, "data-id" => note.id) %>
<% end %>