Skip to content

Commit

Permalink
removed "Digitale Evaluation" checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
4-dash committed Jul 20, 2024
1 parent 4103fb9 commit 17b4ae8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/feedback/forms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# coding=utf-8

from typing import Any
from django import forms
from django.forms import widgets

Expand Down Expand Up @@ -84,11 +85,16 @@ class Meta:
"anzahl",
"sprache",
"verantwortlich",
"digitale_eval",
"ergebnis_empfaenger",
"auswertungstermin",
)
widgets = {"ergebnis_empfaenger": forms.CheckboxSelectMultiple}

def clean(self) -> dict[str, Any]:
cleaned_data = super().clean()

# "digitale_eval" removed from user interface
cleaned_data["digitale_eval"] = True


class VeranstaltungDigitaleEvaluationForm(BestellWizardForm):
Expand Down

0 comments on commit 17b4ae8

Please sign in to comment.