From 301c374ee40209548360e199980661737e0e1c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 15 Jul 2016 14:04:01 +0200 Subject: [PATCH] Typos --- gestioncof/forms.py | 3 ++- gestioncof/views.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gestioncof/forms.py b/gestioncof/forms.py index 373d308e..5d936885 100644 --- a/gestioncof/forms.py +++ b/gestioncof/forms.py @@ -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), diff --git a/gestioncof/views.py b/gestioncof/views.py index 25fff177..e954fde8 100644 --- a/gestioncof/views.py +++ b/gestioncof/views.py @@ -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)})