1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django import forms
6 from django.utils.translation import ugettext_lazy as _
8 class SuggestForm(forms.Form):
9 author = forms.CharField(label=_('Author'), max_length=50, required=False)
10 email = forms.EmailField(label=_('E-mail'), required=False)
11 title = forms.CharField(label=_('Title'), max_length=120, required=True)
12 description = forms.CharField(label=_('Description'), widget=forms.Textarea, required=True)