<% @note_versions.each do |note_version| %> <% end %>
Post Note Body IP Address Edited By Date Options
<%= link_to note_version.post_id, post_path(note_version.post_id) %> <%= link_to "#{note_version.note_id}", note_versions_path(:search => {:note_id_eq => note_version.note_id}) %> <%= h(note_version.body) %> <% unless note_version.is_active? %>(deleted)<% end %> <% if CurrentUser.is_janitor? %> <%= note_version.updater_ip_addr %> <% end %> <%= link_to note_version.updater.name, user_path(note_version.updater) %> <%= note_version.updated_at.strftime("%Y-%m-%d %H:%M") %> <%= link_to "Revert", revert_note_path(note_version.note_id, :version => note_version.id), :remote => true, :confirm => "Do you really want to revert to this version?" %>
<%= sequential_paginator(@note_versions) %> <%= render "notes/secondary_links" %>