diff --git a/accounts/forms.py b/accounts/forms.py index 7f3bbba..09fe692 100644 --- a/accounts/forms.py +++ b/accounts/forms.py @@ -19,8 +19,9 @@ class UserEditForm(forms.ModelForm): class Meta: model = CustomUser - fields = ['paypal_email', 'email'] + fields = ['full_name', 'paypal_email', 'email'] widgets = { + 'full_name': forms.TextInput(attrs={'class': 'form-control'}), 'paypal_email': forms.TextInput(attrs={'class': 'form-control'}), 'email': forms.EmailInput(attrs={'class': 'form-control'}), } diff --git a/accounts/templates/accounts/customuser_update_form.html b/accounts/templates/accounts/customuser_update_form.html index 230410a..b5722b3 100644 --- a/accounts/templates/accounts/customuser_update_form.html +++ b/accounts/templates/accounts/customuser_update_form.html @@ -16,6 +16,11 @@