% content_for :title, @aircraft.tail_number %> <%= render "shared/aircraft_header", aircraft: @aircraft %>
No open issues. All tracked ADs, inspections, components and squawks are current.
<% else %>Airworthiness enforcement is on: flights and hours updates are blocked while the status is red.
<% end %>Enter the current meter readings. The difference is applied to every in-service component. For a single flight, use <%= link_to "Log Flight", new_aircraft_flight_log_path(@aircraft), class: "link" %>.
<%= f.submit "Update Hours", class: "btn-primary" %> <% end %><%= simple_format @aircraft.description %>
<% end %>