@for (attachment of attachments; track $index) { } @if (upload.loading || upload.error) { }