Sha256: 8694501e994f46a64aa1067e75523e6c7b15de8f7a0c9d7aacd664d345702890
Contents?: true
Size: 681 Bytes
Versions: 8
Compression:
Stored size: 681 Bytes
Contents
<%= content_tag(:tr, :id => dom_id(event), :class => "event") do -%> <td><%= I18n.l(event.created_at, :format => "%d.%m.%Y") %></td> <% if event.user -%> <td><%= link_to event.user.name, edit_path(:model_name => "users", :id => event.user_id) %></td> <% else -%> <td><%= event.username || [event.user_type, event.user_id].join('#') %></td> <% end -%> <td><%= event.action %></td> <td> <%= link_to_if ['create', 'update'].include?(event.action), [event.auditable_type, event.auditable_id].join('#'), edit_path(:model_name => event.auditable_type.tableize, :id => event.auditable_id) %> </td> <td><%= event.remote_address %></td> <% end -%>
Version data entries
8 entries across 8 versions & 1 rubygems