From 7ec9ed948b17697e0e201bf1b183aa715e68903b Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sun, 28 Jan 2024 16:51:54 +0530 Subject: [PATCH] adding index --- src/pug/templates/macros.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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