From 9fd96201c00fda2d76337c01c2b1ccb1313df9f0 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sun, 28 Jan 2024 18:55:40 +0530 Subject: [PATCH] indende label inside --- src/pug/templates/macros.pug | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pug/templates/macros.pug b/src/pug/templates/macros.pug index 6b920c1..00a2521 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -36,9 +36,8 @@ script#macros-template(type="text/x-template") .fa.fa-plus .tabs - each macros, index in {{config.macros}} - input(type="radio",:id="'tab'+index", - :name="'tab'+index", @click="tab=index.toString()") + input(type="radio",:id="'tab'+index",v-for="(index.macros) in config.macros", + :name="'tab'+index", @click="tab=index.toString()") label(:for="'tab'+index",style="height:50px;width:100px") Macros {{index+1}} section.tab-content(v-for="(index,macros) in config.macros",:id="'content'+index" ,v-show="tab === index")