Accessing parent context in Meteor templates and template helpers

前端 未结 9 888
别跟我提以往
别跟我提以往 2020-12-09 01:10

I\'m running into a template context situation that I\'m having a hard time finding a way around.


Here\'s the template in question:



        
9条回答
  •  死守一世寂寞
    2020-12-09 01:31

    It's a long shot, but maybe this could work:

    {{#with ../}}
      {{#each options}}
        {{this}}
      {{/each}}
    {{/with}}
    

提交回复
热议问题