<% content_for :title, "Records audit" %>

Records audit, <%= @audit.performed_at.to_date %>

By <%= @audit.performed_by&.display_name %> ยท <%= @audit.passed ? "Passed" : "Items not passed" %>

<% if @audit.notes.present? %>
<%= @audit.notes %>
<% end %>

<%= link_to "All audits", admin_audits_path, class: "link" %>