currently have 2 mixins i'm looking @ adding more onto. these mixins may show in other mixins, may not.
looking @ this, tried following
+#{displaytype}(group[fieldname]) however doesn't seem parse.
i avoid
case displaytype when boolsimplestatus +boolsimplestatus(group[fieldname]) when boolcheckbox +boolcheckbox(group[fieldname]) altogether mixin
mixin boolean_table_cell(fieldname, group, displaytype) +data_table_cell(fieldname) +#{displaytype}(group[fieldname])
far know, interpolation works args pass compiled template. in case, displaytype argument mixin , that's why not working. can remove argument mixin , pass via call render function res.render(whatevertemplate, {displaytype: whatevertype}) , interpolation should work that
Comments
Post a Comment