Sha256: 5f90c3b05dbe337506c68c3a79b4163b9f01a30a0bc8a905f3c4faa670087e8e

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

<li class="audit">
  <h4 class="audit"><%= audit.audited.class.to_s.humanize %> Modification
    <span class="audit_meta">by <%= audit.try(:user).try(:name) %> on <%= audit.created_at.to_formatted_s(:long) %></span>
  </h4>
  <% change_set_iter(audit.change_set) do |attr, old, new| %>
    <p class="audit"><strong><%=h attr %></strong>
      <% if nil %>
      <%# if audit.message %>
        <em><%= new %></em>
      <% else %>
        changed from <em><%=h old %></em> to <em><%=h new %></em>.
      <% end %>
    </p>
  <% end %>
</li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
track_changes-1.0.1 app/views/audits/_audit.html.erb
track_changes-1.0.0 app/views/audits/_audit.html.erb
track_changes-1.0.0.pre3 app/views/audits/_audit.html.erb
track_changes-1.0.0.pre2 app/views/audits/_audit.html.erb