I'm not sure how, since the number of options is a variable?
Or are you suggesting having an alternate templating function there?