This commit is contained in:
Greg Newman
2022-11-04 10:03:25 -04:00
parent e7351d5556
commit e74f3495c8
2 changed files with 5 additions and 1 deletions

View File

@@ -14,5 +14,7 @@ class ContactForm(forms.Form):
last_name = forms.CharField(label=_("last name"), max_length=50)
email = forms.CharField(label=_("email"), max_length=150)
message = forms.CharField(label=_("message"), widget=forms.Textarea)
phone_number = forms.CharField(label=_("phone number"), max_length=30, required=False)
phone_number = forms.CharField(
label=_("phone number"), max_length=30, required=False
)
topic = forms.ChoiceField(label="topic", required=False, choices=TOPIC_CHOICES)

View File

@@ -19,6 +19,7 @@ class SupportView(SupportBaseView):
View for the Support page with contact form
TODO: Add reCaptcha
"""
template_name = "support/support.html"
@@ -27,4 +28,5 @@ class ContactView(SupportBaseView):
View for the Support page with contact form
TODO: Add reCaptcha
"""
template_name = "support/contact.html"