diff --git a/src/pug/templates/macros.pug b/src/pug/templates/macros.pug index 084a338..ec05a49 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -38,7 +38,7 @@ script#macros-template(type="text/x-template") .tabs input(type="radio",v-for="(index,macros) in config.macros",:id="'tab'+index", :name="tabs",:checked="index == 0", @click="tab=index") - label(:for="'tab'+index",style="height:50px;width:100px",:key="index") Macros {{index}} + label(v-for="(index,macros) in config.macros",:for="'tab'+index",style="height:50px;width:100px",:key="index") Macros {{index+1}} section.tab-content(v-for="(index,macros) in config.macros",:id="'content'+index",:key="index") .macros-form