<% if is_correct { %>

Correct

Your answer is correct. The correct answer is <%= correct_answer %>.

<% } else { %>

Wrong

Your answer is incorrect. The correct answer is <%= correct_answer %>. <% if let Some(player_answer) = player_answer { %> You answered <%= player_answer %>. <% } else { %> You didn't answer the question. <% } %>

<% } %>