@if (error()) {
error {{ error() }}
} @if (success()) {
check_circle {{ success() }}
}
@if (mode() === 'excel') {
upload_file @if (fileName()) { {{ fileName() }} } @else { Click to select an Excel file }

info Format: Question | Option1 | Option2 | Option3 | Option4 | Correct

} @if (mode() === 'ai') {
auto_awesome AI-Powered Generation

lightbulb Tip: Mention the topic, number of questions, and time limit in your prompt. AI will auto-generate the quiz title, timer, and questions.

}
@if (assignmentType === 'users') {
@for (user of filteredUsers; track user._id) {
{{ user.name }} {{ user.email }}
} @if (filteredUsers.length === 0) {
No candidates found
}
} @if (assignmentType === 'groups') {
@for (group of availableGroups; track group) {
{{ group }}
} @if (availableGroups.length === 0) {
No groups found
}
}