Please see that I have included the HTML Helper in the Controller and if I put the same above line in the View or Template File it works fine. Only when it is inside the Element it doesn't work. I am not even passing any Variable, this is just static text that I am trying to display
I am including admin_top_nav.tpl Element in the Admin Template like below.
{% element 'admin_top_nav' %}
It does gets included and displays all the HTML but does not render anything inside {{ }}. For eg following code
{{ html.link("User Management", {"controller" : "users", "action" : "index", "admin" : true}) }}
Please see that I have included the HTML Helper in the Controller and if I put the same above line in the View or Template File it works fine. Only when it is inside the Element it doesn't work. I am not even passing any Variable, this is just static text that I am trying to display