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