@if (oneColumn)
{
foreach (var section in Model.sections)
{
@foreach (var row in section.rows)
{
renderRow(row, true);
}
}
}
else
{
@foreach (var sec in Model.sections)
{
@foreach (var row in sec.rows)
{
renderRow(row, false);
}
}
}
}
@functions{
private async Task renderRow(dynamic row, bool singleColumn)
{