<%= @invitation.invited_by&.display_name || "The owner" %> asks you to sign a logbook entry for <%= @entry.aircraft.tail_number %> (<%= @entry.date %>, <%= LogbookEntry::LOG_TYPES[@entry.log_type] %> log).

<% if @invitation.message.present? %>

“<%= @invitation.message %>”

<% end %>

<%= link_to "Review and sign the entry", @url %> (the link works once, until <%= @invitation.expires_at.to_date %>).

You'll sign in or create an account for <%= @invitation.email %>, add your certificate, and sign with your password.