I’m trying to set the value of the toggle button to be either on/off depending on the values it pulls from the database. The toggle is an active component. I have tried adding it within the template:
"<div class='buttons'>{common.statusButton(#active_campaign#)}</div>"
But no luck. How can I do this?