mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
blacken
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user