Sha256: e5f4bd439059c05799b075554047f5018133607c948a75e6556ab74b688c33e1

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

%h1 Audit Trail

.font-xsmall= will_paginate(@versions)
%table
  %thead
    %tr
      %th Date
      %th Action
      %th Changed by
      %th

  %tbody
    - @versions.each do |version|
      %tr
        %td= l(version.created_at)
        %td
          %h4= version.event_description
          %p= link_to_edited_item(version)
          %p= render partial: view_template(version), locals: { version: version }

        %td= version.whodunnit
        %td
          - unless version.membership?
            = button_to 'undo', "/audit_trail/undo/#{version.id}", data: { confirm: 'Are you sure you want to undo this change?' }

.font-xsmall= will_paginate(@versions)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 app/views/peoplefinder/versions/index.html.haml
peoplefinder-0.1.0 app/views/peoplefinder/versions/index.html.haml