added contact page
This commit is contained in:
@@ -51,3 +51,9 @@ class OrganizationForm(forms.ModelForm):
|
||||
|
||||
class GenerateCodesForm(forms.Form):
|
||||
count = forms.IntegerField(label="How many codes to generate?", min_value=1, max_value=1000)
|
||||
|
||||
|
||||
class ContactForm(forms.Form):
|
||||
name = forms.CharField(label="Name", max_length=100)
|
||||
email = forms.EmailField(label="Email")
|
||||
message = forms.CharField(label="Message", widget=forms.Textarea(attrs={"rows": 6}), max_length=5000)
|
||||
|
||||
Reference in New Issue
Block a user