Sha256: eea1c4327ea11f9ca1099525ee2f5b7380bfc6ba1944a5429e54fed12d5849fd
Contents?: true
Size: 759 Bytes
Versions: 4
Compression:
Stored size: 759 Bytes
Contents
.page-header %h2 = t('.title') = @record.class.to_s.demodulize %h4 = @record.is_a?(Cms::Page) ? "#{t('.full_path')}: #{@record.full_path}" : "#{t('.slug')}: #{@record.identifier}" - content_for :right_column do .box.revisions - @record.revisions.each do |revision| = active_link_to revision.created_at, :id => revision.id %table.table %tr %th %th= t('.current') %th= l(@revision.created_at) - @current_content.each do |label, content| %tr %th= Cms::Layout.human_attribute_name(label) %td.main= content %td.main= @versioned_content[label] = comfy_form_for @revision, :url => {:action => :revert} do |form| .form-actions = form.submit t('.update'), :class => 'btn btn-primary'
Version data entries
4 entries across 4 versions & 1 rubygems