fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option to exclude lessons by slugs
[edumed.git]
/
edumed
/
forms.py
diff --git
a/edumed/forms.py
b/edumed/forms.py
index
554779f
..
650197b
100644
(file)
--- a/
edumed/forms.py
+++ b/
edumed/forms.py
@@
-1,3
+1,4
@@
+# -*- coding: utf-8 -*-
from django import forms
from django.utils.translation import ugettext_lazy as _
from pybb.forms import EditProfileForm
from django import forms
from django.utils.translation import ugettext_lazy as _
from pybb.forms import EditProfileForm
@@
-8,10
+9,9
@@
class AvatarlessEditProfileForm(EditProfileForm):
signature = forms.CharField(
widget=forms.Textarea(attrs={'rows': 2, 'cols:': 60}),
required=False,
signature = forms.CharField(
widget=forms.Textarea(attrs={'rows': 2, 'cols:': 60}),
required=False,
- label
=
_('Signature')
+ label
=
_('Signature')
)
class Meta:
model = util.get_pybb_profile_model()
)
class Meta:
model = util.get_pybb_profile_model()
- fields = ['signature', 'time_zone', 'language',
- 'show_signatures']
+ fields = ['signature', 'time_zone', 'language', 'show_signatures']