<%# record, interval %> <% if record.respond_to?(:updater) && record.updater_id != record.creator_id %>

Updated by <%= link_to_user record.updater %> <%= time_ago_in_words_tagged(record.updated_at) %>

<% elsif record.updated_at - record.created_at > (local_assigns[:interval] || 5.minutes) %>

Updated <%= time_ago_in_words_tagged(record.updated_at) %>

<% end %>