<%# ADs and inspection types: which parts of THIS aircraft they apply to. %>
Applies to on <%= aircraft.tail_number %> <% comps = aircraft.components.where.not(status: "DISPOSED").includes(:component_type) %> <% if comps.any? %>
<% comps.each do |c| %> <% end %>
<% end %>

Component-level items follow the component if it moves to another aircraft.