From e7a7dad50cd8a8a4caf869254e38a176ddb4df8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Mon, 6 Mar 2023 22:15:41 +0100 Subject: [PATCH] =?UTF-8?q?Defaultn=C4=9B=20nezas=C3=ADlat=20=C4=8D=C3=ADs?= =?UTF-8?q?lo=20pap=C3=ADrov=C4=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- personalni/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/personalni/forms.py b/personalni/forms.py index e57031d1..735e1a57 100644 --- a/personalni/forms.py +++ b/personalni/forms.py @@ -68,7 +68,7 @@ class PrihlaskaForm(PasswordResetForm): min_value=date.today().year, max_value=date.today().year+8, required=True) - zasilat = forms.ChoiceField(label='Kam zasílat čísla',choices = Resitel.ZASILAT_CHOICES, required=True) + zasilat = forms.ChoiceField(label='Kam zasílat čísla',choices = Resitel.ZASILAT_CHOICES, required=True, initial=Resitel.ZASILAT_NIKAM) zasilat_cislo_emailem = forms.BooleanField(label='Chci dostávat e-mailem upozornění na vydání nového čísla', required=False, initial=True) jak_se_dozvedeli = forms.CharField(widget=forms.Textarea({"rows": 3, "cols": 20}), label='Jak ses o M&M dozvěděl(a)? (Nechceš-li odpovídat, napiš „nechci uvést“.)', required=True)