I don't think I've ever seen a loop inside a switch statement. That said, EJS starts acting up when you put multiple block statements inside the same <% %> tags. If you want to go back to the switch statement, put each block in it's own EJS tags
↧