<% content_for :title, "Sign a logbook entry" %>

Wrong account

This invitation is for <%= @invitation.email %>, but you're signed in as <%= current_user.email_address %>. Sign out and sign in with the invited address.

<%= button_to "Sign out", session_path, method: :delete, class: "btn-secondary" %>