Move show order list generation from erb template to coffeescript