diff --git a/app/views/auditor/panel/audits/_index/_index_tbody.html.erb b/app/views/auditor/panel/audits/_index/_index_tbody.html.erb
index 48d30f5..0270620 100644
--- a/app/views/auditor/panel/audits/_index/_index_tbody.html.erb
+++ b/app/views/auditor/panel/audits/_index/_index_tbody.html.erb
@@ -22,18 +22,17 @@
<% end %>
- <% model.related_changes.each do |key, value| %>
- <% value.each do |relate| %>
-
- <%= key %>: <%= relate[:id] %>
-
- <% relate[:changes].each do |k, v| %>
- <%= k %>:
- <%= v[0] %>
-
- <%= v[1] %>
- <% end %>
+ <% model.related_changes.each do |key, records| %>
+ <%= key %>
+ <% records.each do |record| %>
+ <% record.each do |k, v| %>
+
+ <%= k %>
+ <%= v[0] %>
+
+ <%= v[1] %>
+ <% end %>
<% end %>
<% end %>
|