1 from django import forms
2 from contact.forms import ContactForm
3 from django.utils.translation import ugettext_lazy as _
6 class RegistrationForm(ContactForm):
8 form_title = _('Registration form')
10 name = forms.CharField(label=_('Name'), max_length=128)
11 contact = forms.EmailField(label=_('E-mail'), max_length=128)
12 organization = forms.CharField(label=_('Organization'),
13 max_length=256, required=False)
14 title = forms.CharField(label=_('Title of presentation'),
15 max_length=256, required=False)
16 presentation = forms.FileField(label=_('Presentation'),
18 summary = forms.CharField(label=_('Summary'),
19 widget=forms.Textarea, required=False)