Skip to content
Snippets Groups Projects
Verified Commit 9ce9c3cb authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix typo.

parent edac6940
No related branches found
No related tags found
1 merge request!13Add function to cancel lessons. Closes #25.
......@@ -24,4 +24,4 @@ class SelectForm(forms.Form):
class LessonSubstitutionForm(forms.ModelForm):
class Meta:
model = LessonSubstitution
fields = ['week', 'lesson_period', 'subject', 'teachers', 'room', 'canceled']
fields = ['week', 'lesson_period', 'subject', 'teachers', 'room', 'cancelled']
{# -*- engine:django -*- #}
{% if not lesson_period.get_substitution.canceled %}
{% if not lesson_period.get_substitution.cancelled %}
<div class="card chronos-lesson
{% if lesson_period.get_substitution %}
border border-warning
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment