Sha256: 5f8586a4b223e912a1275895f446dfcd748c9fe16db99da342f9395515c82e78

Contents?: true

Size: 762 Bytes

Versions: 8

Compression:

Stored size: 762 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 l(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

8 entries across 8 versions & 2 rubygems

Version Path
comfortable_mexican_sofa-1.8.5 app/views/cms_admin/revisions/show.html.haml
comfortable_mexican_sofa-1.9.0 app/views/cms_admin/revisions/show.html.haml
comfortable_mexican_sofa-1.8.4 app/views/cms_admin/revisions/show.html.haml
comfortable_mexican_sofa-1.8.3 app/views/cms_admin/revisions/show.html.haml
comfypress-0.1.4 app/views/cms_admin/revisions/show.html.haml
comfortable_mexican_sofa-1.8.2 app/views/cms_admin/revisions/show.html.haml
comfypress-0.1.3 app/views/cms_admin/revisions/show.html.haml
comfortable_mexican_sofa-1.8.1 app/views/cms_admin/revisions/show.html.haml