<%= link_to "##{note_id}", :anchor => "note-#{note_id}" %>
<%= content_tag('a', '', :name => "note-#{note_id}")%>
<%= format_time(journal.created_on) %> - <%= journal.user.name %>
<% for detail in journal.details %>
- <%= show_detail(detail) %>
<% end %>
<%= render_notes(journal) unless journal.notes.blank? %>
<% note_id += 1 %>
<% end %>