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)) %> - - + +
- - -
<% 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 --%> - \ No newline at end of file + element.next('.todo_notes').toggle +end -%> + \ No newline at end of file