diff --git a/tracks/app/views/notes/_notes.rhtml b/tracks/app/views/notes/_notes.rhtml
index c99812fc..9d71eec5 100644
--- a/tracks/app/views/notes/_notes.rhtml
+++ b/tracks/app/views/notes/_notes.rhtml
@@ -1,39 +1,39 @@
<% note = notes -%>
-
<%= link_to("Note #{note.id}", note_path(note), :title => "Show note #{note.id}" ) %>
+
<%= link_to("Note #{note.id}", note_path(note), :title => "Show note #{note.id}" ) %>
- <%= sanitize(textilize(note.body)) %>
-
-
+
+
+ <% form_remote_tag :url => note_path(note),
+ :method => :put,
+ :html => { :id => dom_id(note, 'edit_form'), :class => "inline-form" },
+ :update => dom_id(note, 'container'),
+ :complete => visual_effect(:appear, dom_id(note, 'container')) do -%>
+ <%= render :partial => "notes/note_edit_form", :object => note %>
<% end -%>
-
-
- <% form_remote_tag :url => note_path(note),
- :method => :put,
- :html => { :id => dom_id(note, 'edit_form'), :class => "inline-form" },
- :update => dom_id(note, 'container'),
- :complete => visual_effect(:appear, dom_id(note, 'container')) do -%>
- <%= render :partial => "notes/note_edit_form", :object => note %>
- <% end -%>
-
-
<% note = nil -%>
diff --git a/tracks/app/views/todos/_toggle_notes.rhtml b/tracks/app/views/todos/_toggle_notes.rhtml
index 524871a7..1993e7ae 100644
--- a/tracks/app/views/todos/_toggle_notes.rhtml
+++ b/tracks/app/views/todos/_toggle_notes.rhtml
@@ -1,8 +1,7 @@
<%= link_to(image_tag( 'blank.png', :width=>'16', :height=>'16', :border=>'0' ), "#", {:class => 'show_notes', :title => 'Show notes'}) %>
<% apply_behavior 'a.show_notes:click', :prevent_default => true do |page, element|
- element.next('.todo_notes').toggle
- end
--%>
-