Can I use a Coffeescript switch
block in the eco templating engine? I tried a couple of variations, but I keep getting unexpected dedent
errors.
Update: To appease the downvoters, here is what I expected to work
<% switch x : %>
<% when 1 : %>
one
<% end %>
<% when 2 : %>
two
<% end %>
<% end %>
But I get "Parse error on line 5: unexpected dedent"