From 74ad2b9cc746684a9a8e0d12752a3b1f80158085 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Sat, 9 Dec 2006 17:39:42 +0000 Subject: [PATCH] Forgot to check this one in! git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@370 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/todo/_toggle_notes.rhtml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tracks/app/views/todo/_toggle_notes.rhtml 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