There's the case where it was a POST request but the form was invalid. In that case it will skip the else statement but still render the form (with errors). I think this is correct.