forked from DGNum/gestioCOF
Typos
This commit is contained in:
parent
b5704c7f6d
commit
301c374ee4
2 changed files with 3 additions and 2 deletions
|
@ -336,7 +336,8 @@ class AdminEventForm(forms.Form):
|
|||
|
||||
|
||||
class CalendarForm(forms.ModelForm):
|
||||
events = forms.BooleanField(initial=True, label="S'abonner aux événements")
|
||||
subscribe_to_events = forms.BooleanField(initial=True,
|
||||
label="S'abonner aux événements")
|
||||
shows = forms.ModelMultipleChoiceField(
|
||||
label="S'abonner aux spectacles suivants",
|
||||
queryset=Spectacle.objects.filter(tirage__active=True),
|
||||
|
|
|
@ -640,7 +640,7 @@ def calendar(request):
|
|||
{'form': form, 'success': True})
|
||||
else:
|
||||
return render(request, "calendar_subscription.html",
|
||||
{'form': form, 'error': "Formulaire incorect"})
|
||||
{'form': form, 'error': "Formulaire incorrect"})
|
||||
else:
|
||||
return render(request, "calendar_subscription.html",
|
||||
{'form': CalendarForm(instance=instance)})
|
||||
|
|
Loading…
Reference in a new issue