<% content_for :title, "Add Oil Analysis" %> <%= render "shared/aircraft_header", aircraft: @aircraft %>

Have an AvLab or Blackstone PDF? Import it instead

Every sample on the report is filled in for you, and the PDF is attached to the newest one.

<%= render "import", aircraft: @aircraft %>
<%= render "form", aircraft: @aircraft, analysis: @analysis %>