This commit is contained in:
albert
2013-01-14 11:23:43 -05:00
parent 7b4f7c5532
commit 7bca79e71a
11 changed files with 81 additions and 10 deletions

View File

@@ -1 +1,3 @@
<%= content_tag(:article, raw(DText.sanitize(note.body)), "data-width" => note.width, "data-height" => note.height, "data-x" => note.x, "data-y" => note.y, "data-id" => note.id) %>
<article data-width="<%= note.width %>" data-height="<%= note.height %>" data-x="<%= note.x %>" note-y="<%= note.y %>" data-id="<%= note.id %>">
<%= raw DText.sanitize(note.body) %>
</article>