% # USAGE: Displays a version picker for the given object. # # VARIABLES: # * record: The record to show a version picker for. # * target: The DOM id to update when refreshing the version. %> <% if record.versions.present? %>
<% content_for :javascript_insert do %> <% end %> <% end %>