X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/4e8f2e48704705b61bd674497aaaf33ef9f1c90b..76279d84d0ea3fe16dc33798ee319d1856f576fc:/edumed/contact_forms.py?ds=sidebyside diff --git a/edumed/contact_forms.py b/edumed/contact_forms.py index e82afad..9ea2c03 100644 --- a/edumed/contact_forms.py +++ b/edumed/contact_forms.py @@ -14,6 +14,16 @@ class RegistrationForm(ContactForm): tresc = forms.CharField(label=u'Treść', widget=forms.Textarea, max_length=1800) +class CooperateForm(ContactForm): + form_tag = 'wspolpraca' + form_title = u"Bądź z nami w kontakcie" + admin_list = ['podpis', 'contact'] + + contact = forms.EmailField(label=u'E-mail', max_length=128) + podpis = forms.CharField(label=u'Podpis', max_length=128) + uwagi = forms.CharField(label=u'Uwagi', widget=forms.Textarea, max_length=1800, required=False) + + class ContestForm(ContactForm): form_tag = 'konkurs' form_title = u"Zgłoś się do konkursu"