From 81ed02394d4398da12a9ba9a2fde0dc8dca0d570 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sun, 28 Jan 2024 18:32:04 +0530 Subject: [PATCH] reframed iterator --- 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 1c3322a..354c479 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -36,7 +36,7 @@ script#macros-template(type="text/x-template") .fa.fa-plus .tabs - each index, macros in config.macros + each macros, index in config.macros input(type="radio",:id="'tab'+index", :name="'tab'+index", @click="tab=index.toString()") label(:for="'tab'+index",style="height:50px;width:100px") Macros {{index+1}}