{% load i18n %} {% load url from future%} {% if menu %}

{% for lbl, model_name, current, widget in menu %} {% with 'show-'|add:model_name as model_url%} {% endwith %} {% endfor %}
{{widget|safe}}
{% endif %}