mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Merge branch 'main' into za/profile-page-update-label
This commit is contained in:
commit
f4b865c1f1
46 changed files with 2181 additions and 2399 deletions
|
@ -1,6 +1,6 @@
|
|||
from django import forms
|
||||
|
||||
from registrar.models.contact import Contact
|
||||
from registrar.models.user import User
|
||||
|
||||
from django.core.validators import MaxLengthValidator
|
||||
from phonenumber_field.widgets import RegionalPhoneNumberWidget
|
||||
|
@ -13,7 +13,7 @@ class UserProfileForm(forms.ModelForm):
|
|||
redirect = forms.CharField(widget=forms.HiddenInput(), required=False)
|
||||
|
||||
class Meta:
|
||||
model = Contact
|
||||
model = User
|
||||
fields = ["first_name", "middle_name", "last_name", "title", "email", "phone"]
|
||||
widgets = {
|
||||
"first_name": forms.TextInput,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue