1 # -*- coding: utf-8 -*-
2 from django import forms
3 from contact.forms import ContactForm
4 from django.utils.translation import ugettext_lazy as _
7 class RegistrationForm(ContactForm):
9 form_title = _('Registration form')
11 name = forms.CharField(label=_('Name'), max_length=128)
12 contact = forms.EmailField(label=_('E-mail'), max_length=128)
13 organization = forms.CharField(label=_('Organization'),
14 max_length=256, required=False)
15 title = forms.CharField(label=_('Title of presentation'),
17 presentation = forms.FileField(label=_('Presentation'),
19 summary = forms.CharField(label=_('Summary of presentation (max. 1800 characters)'),
20 widget=forms.Textarea, max_length=1800)
21 agree_data = forms.BooleanField(
22 label=_('Permission for data processing'),
23 help_text=_(u'I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. MarszaĆkowska 84/92, 00-514 Warszawa) permission to process my personal data (name, e-mail address) for purposes of registration for CopyCamp conference.')
25 agree_license = forms.BooleanField(
26 label=_('Permission for publication'),
27 help_text=_('I agree to having materials recorded during the conference released under the terms of <a href="http://creativecommons.org/licenses/by-sa/3.0/deed">CC BY-SA</a> license.')