{% load i18n %} {% with name=widget.name id=widget.attrs.id %} {% for ctype, cmd, widget in widget.lines %} {% with app=ctype.app_label model=ctype.model %} {% endwith %} {% endfor %}
{{ctype}}: {% include widget.template_name %}  {% translate 'Create if not found?' %}
{% endwith %}