@if (fields(); as fields) { } @else { @for (param of parameters(); track param.name) { } }