Merge pull request #965 from ae-utbm/form-style

rework form style
This commit is contained in:
thomas girod authored and GitHub committed 2024-12-27 22:24:09 +01:00
commit 2f9e5bfee1
9 files changed
+767 -219

No files matched your search

+3
View File
@@ -173,6 +173,9 @@ class RegisteringForm(UserCreationForm):
class UserProfileForm(forms.ModelForm):
"""Form handling the user profile, managing the files"""
required_css_class = "required"
error_css_class = "error"
class Meta:
model = User
fields = [