%# What the invitation gives: a role on each of its aircraft (or just an account). %> <% grants = invitation.grants.includes(:aircraft, :role).sort_by { _1.aircraft.tail_number } %> <% if grants.any? %>
<%= t("joins.grants.account_only") %>
<% end %>