{% load beam_tags %} {% if not layout %} {% fields_to_layout fields as layout %} {% endif %} {% for row in layout %}