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

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

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 = [