diff --git a/tracks/app/views/todo/_toggle_notes.rhtml b/tracks/app/views/todo/_toggle_notes.rhtml new file mode 100644 index 00000000..8a8b1586 --- /dev/null +++ b/tracks/app/views/todo/_toggle_notes.rhtml @@ -0,0 +1,7 @@ +<%= link_to_function(image_tag( 'blank.png', :width=>'16', :height=>'16', :border=>'0' ), nil, {:class => 'show_notes', :title => 'Show notes'}) do |page| + page[dom_id(item, 'notes')].toggle + end +-%> + \ No newline at end of file