{% with result=result %} {{ render_dynamic_html(action.label, result=result) }} {% endwith %}