<%= tag_for_record :tr, event_revision, :style => 'background-color: #f5c6d7' do %> <%= link_to event_revision.name, event_revision_path(event_revision) %> <%= truncate(event_revision.location, :length => 100) %> <%= truncate(event_revision.description, :length => 100) %> <% end %>