app/views/job_runs/_structural_updates_summary.html.erb
<div class="structural-changes">
<table class="table">
<caption>Updates from csv</caption>
<thead class="table">
<tr>
<th>Druid</th>
<th>Filename</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<% druids.each do |druid| %>
<% next unless druid['file_diffs'] %>
<% %w[added_files deleted_files updated_files].each do |status| %>
<% druid['file_diffs'][status]&.each do |filename| %>
<tr>
<td><%= druid['druid'] %></td>
<td><%= filename %></td>
<td><%= status.sub('_files', '').capitalize %></td>
</tr>
<% end %>
<% end %>
<% end %>
</tbody>
</table>
</div>