Fundraising in PDF.
[wolnelektury.git] / src / wolnelektury / forms.py
index f04501f..7836177 100644 (file)
@@ -1,5 +1,5 @@
-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
 #
 from allauth.socialaccount.forms import SignupForm
 from django.contrib.auth.forms import AuthenticationForm, UserCreationForm
@@ -9,11 +9,12 @@ from newsletter.forms import NewsletterForm
 
 
 class WLAuthenticationForm(AuthenticationForm):
-    template_name = '2022/form.html'
+    required_css_class = 'required'
 
 
 # has to be this order, because otherwise the form is lacking fields
 class RegistrationForm(UserCreationForm, NewsletterForm):
+    required_css_class = 'required'
     data_processing_part2 = '''\
 Dane są przetwarzane w zakresie niezbędnym do prowadzenia serwisu, a także w celach prowadzenia statystyk, \
 ewaluacji i sprawozdawczości. W przypadku wyrażenia dodatkowej zgody adres e-mail zostanie wykorzystany \