<% content_for :title, t(".sign_a_logbook_entry") %>

<%= t(".sign_a_logbook_entry") %>

<%= t(".you_ve_been_asked_to_html", date: (fmt_date(@entry.date)), log_type: (LogbookEntry::LOG_TYPES[@entry.log_type].downcase), tail_number: @entry.aircraft.tail_number, email: @invitation.email) %>

<%= link_to t(".i_have_an_account_sign"), new_session_path, class: "btn-primary w-full justify-center" %>
<% unless User.exists?(email_address: @invitation.email) %>

<%= t(".no_account_yet", email: @invitation.email) %>

<% end %>