% content_for :title, t(".records_audit") %>
<%= t(".records_audit_2_html", to_date: (fmt_date(@audit.performed_at.to_date))) %>
<%= t(".by_html", display_name: @audit.performed_by&.display_name) %> <%= @audit.passed ? t(".passed") : t(".items_not_passed") %>
<% @audit.results.each do |r| %>
- <%= r["passed"] ? t(".pass") : t(".fail") %>
<%= r["title"] %><%= tag.span(t(".checked_by_the_app"), class: "text-xs text-slate-500") if r["auto"] %>
<% if r["detail"].present? %><%= r["detail"] %><% end %>
<% end %>
<% if @audit.notes.present? %><%= @audit.notes %>
<% end %>
<%= link_to t(".all_audits"), admin_audits_path, class: "link" %>