% content_for :title, "#{@aircraft.tail_number} Access" %> <%= render "shared/aircraft_header", aircraft: @aircraft %>
| <%= r.user.display_name %> <%= r.user.email_address %> |
<%= form_with url: aircraft_aircraft_role_path(@aircraft, r), method: :patch do |f| %> <%= f.select :role, AircraftRole::ROLES.invert, { selected: r.role }, class: "input w-28", onchange: "this.form.requestSubmit()" %> <% end %> | <% unless r.user == current_user %><%= delete_button "Remove", aircraft_aircraft_role_path(@aircraft, r), confirm: "Remove #{r.user.display_name}'s access?" %><% end %> |
Owners can edit everything. Pilots can view all records, log flights, update hours, and add squawks, notes and oil/fuel.
Current Status: overview, airworthiness, components, open squawks, AD/inspection status, oil & fuel, public notes and documents shared with all links. Maintenance Detail adds the full logbook, history, resolved squawks and major records.
<%= f.submit "Create Share Link" %> <% end %>Everything recorded for <%= @aircraft.tail_number %>, with its files, in one .sam.zip archive. Import it from the Fleet page here or into another Simple Aircraft Manager (including the original).