X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/a55d79e4c27c893841712145e38d4a4a61e04b20..97a6fccf2124739922f1f5e3e7fc472e2e402a2b:/prawokultury/contact_forms.py diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py old mode 100755 new mode 100644 index 4fbdd9c..90fc529 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -6,6 +6,10 @@ from django.utils.translation import ugettext_lazy as _ class RegistrationForm(ContactForm): form_tag = 'register' name = forms.CharField(label=_('Name'), max_length=128) - organization = forms.CharField(label=_('Organization'), max_length=128) - summary = forms.CharField(label=_('Summary'), widget=forms.Textarea) - presentation = forms.FileField(label=_('Presentation')) + contact = forms.EmailField(label=_('E-mail'), max_length=128) + organization = forms.CharField(label=_('Organization'), + max_length=256, required=False) + presentation = forms.FileField(label=_('Presentation'), + required=False) + summary = forms.CharField(label=_('Summary'), + widget=forms.Textarea, required=False)