Skip to content
Snippets Groups Projects

Fix substitution form again and add comment field

Merged Jonathan Weth requested to merge fix/substitution-form into master
3 files
+ 7
6
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -11,7 +11,7 @@ class LessonSubstitutionForm(forms.ModelForm):
class Meta:
model = LessonSubstitution
fields = ["subject", "teachers", "room", "cancelled"]
fields = ["subject", "teachers", "room", "cancelled", "comment"]
widgets = {
"teachers": ModelSelect2MultipleWidget(
search_fields=[
Loading