{% for button, context in buttons %} {% include button.template_name with button=context %} {% endfor %}