Merge remote-tracking branch 'origin/filmowa' into filmowa
[edumed.git] / edumed / forms.py
1 # -*- coding: utf-8 -*-
2 from django import forms
3 from django.utils.translation import ugettext_lazy as _
4 from pybb.forms import EditProfileForm
5 from pybb import util
6
7
8 class AvatarlessEditProfileForm(EditProfileForm):
9     signature = forms.CharField(
10         widget=forms.Textarea(attrs={'rows': 2, 'cols:': 60}),
11         required=False,
12         label=_('Signature')
13     )
14
15     class Meta:
16         model = util.get_pybb_profile_model()
17         fields = ['signature', 'time_zone', 'language', 'show_signatures']