@if (selectionContainsAssignedToken()) {

Some token are already assigned to a user.
Assigning a token to a user will remove the previous assignment.

}
Select Realm of User @for (option of realmService.realmOptions(); track option) { {{ option }} } Enter User @for (user of userService.selectionFilteredUsers(); track user) { {{ user.username }} } @if (selectedUserRealmControl.hasError("required")) { User Realm is required } @if (userFilterControl.hasError("required")) { User is required } @if (userFilterControl.hasError("userNotInOptions")) { User must be selected from the list. } @if (userFilterControl.hasError("userNotInRealm")) { User does not exist in the selected realm. }
@if (authService.actionAllowed("setpin")) {
PIN (optional) PIN (repeat) @if (pinRepeat() && !pinsMatch()) { PINs do not match }
}