mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
fixed typos
This commit is contained in:
parent
968d1818e5
commit
cd7b08ccda
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue