html render complete

You would want to put a new line above this line to break up the if-else logic from the while looping logic.