fixed typos

This commit is contained in:
Alysia Broddrick 2023-05-31 11:41:40 -07:00
parent 968d1818e5
commit cd7b08ccda
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class ContactForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# take off maxlength attribute for the phone number field
# which interferes with out input_with_errors template tag
# which interferes with our input_with_errors template tag
self.fields["phone"].widget.attrs.pop("maxlength", None)
for field_name in self.required:

View file

@ -142,7 +142,7 @@ class DomainYourContactInformationView(DomainPermission, FormMixin, DetailView):
form.save()
messages.success(
self.request, "Your contact information for this domain have been updated."
self.request, "Your contact information for this domain has been updated."
)
# superclass has the redirect
return super().form_valid(form)