@if (isModification) { {{ "spellmodal.edit" | translate }} } @else { {{ "spellmodal.add" | translate }} }
{{ "spellmodal.name" | translate }}
@if (!needsSavingThrow) { } @else { @for (attribute of list.attributes; track school) { {{ "attributes." + attribute | translate }} } }
@for (cost of costs; track cost) { {{ "time." + cost | translate }} }
@for (type of list.durationTypes; track type) { {{ "time." + type | translate }} }
@for (level of [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; track level) { {{ level }} }
@for (school of list.schools; track school) { {{ "schools." + school | translate }} }
@if (isModification) { {{ "buttons.apply" | translate }} } @else { {{ "buttons.add" | translate }} } {{ "buttons.cancel" | translate }}