versions_diff.html.erb 226 Bytes Edit Raw Blame History 1 2 3 4 <h1><%= _('Changes on "%s"') % @page.title %></h1> <p> <%= _('Changes from %s → %s') % [show_time(@v1.updated_at), show_time(@v2.updated_at)] %> </p> <%= Diffy::Diff.new(@v1.body, @v2.body, :context => 1).to_s(:html) %>