views:

15

answers:

0

Hello all,

I would like to know how can I set a variable with another variable in jinja. I will explain, I have got a submenu and I would like show which link is active. I tried this:

{% set active_link = {{recordtype}} -%} where recordtype is a variable given for my template

Thanks,