Sha256: b68ea5fe400a060926d659945720fb4e1f3c19d598b675c93ad706a6274eb9cb

Contents?: true

Size: 684 Bytes

Versions: 1

Compression:

Stored size: 684 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= version.created_at.to_formatted_s(:long)
        %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

1 entries across 1 versions & 1 rubygems

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