Sha256: 5c35e4e33820d13961c58e36df9089b697a4df8698c4cc1c9119be6786d0ca91

Contents?: true

Size: 715 Bytes

Versions: 3

Compression:

Stored size: 715 Bytes

Contents

<div class="page-header">
  <h1>Audits</h1>
</div>

<table class="table table-striped">
  <thead>
    <tr>
      <th>Action</th>
      <th>Controller</th>
      <th>Description</th>
      <th>User name</th>
      <th>When?</th>
    </tr>
  </thead>
  <tbody>
    <% @audits.each do |audit| %>
      <tr>
        <td><%= audit.action %></td>
        <td><%= audit.controller %></td>
        <td><%= audit.description %></td>
        <td><%= audit.user_name %></td>
        <td><%= distance_of_time_in_words(audit.created_at, Time.now) %> ago</td>
      </tr>
    <% end %>
  </tbody>
</table>

<br />
<%= link_to("Create Test Audits", "http://www.google.com", :class => "visit-site") if Rails.env == 'development' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
audit_rails-1.1.10 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.9 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.8 app/views/audit_rails/audits/index.html.erb