<# var choice = option_value, index = 0; #> <# _.each( param.value, function( name, value ) { #> <# index++; #> <# var selected = ( value == choice ) ? ' ui-state-active' : ''; #> {{ name }} <# } ); #>