added contact page

This commit is contained in:
2025-09-10 21:42:15 +02:00
parent c536a9f327
commit d0b3ee9923
6 changed files with 97 additions and 2 deletions

View File

@@ -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)