diff options
author | Leif Johansson <leifj@sunet.se> | 2010-08-04 14:14:48 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-08-04 14:14:48 +0200 |
commit | c5fafe5c3fe2f71fb7b6f37922aeab1b7cb95b3e (patch) | |
tree | ceda634a94e73ce549dc40b9219f648806fce891 /coip/apps/name/forms.py | |
parent | ad3059c636885a72fad6771115177ec33116f047 (diff) |
break out invitation
Diffstat (limited to 'coip/apps/name/forms.py')
-rw-r--r-- | coip/apps/name/forms.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coip/apps/name/forms.py b/coip/apps/name/forms.py index 47c7795..a68102e 100644 --- a/coip/apps/name/forms.py +++ b/coip/apps/name/forms.py @@ -16,11 +16,14 @@ class AttributeForm(forms.ModelForm): model = Attribute class NameEditForm(forms.ModelForm): + description = forms.CharField(widget=forms.Textarea(attrs={'cols': 85, 'rows': 10})) + class Meta: model = Name fields = ['short','description'] class NewNameForm(forms.ModelForm): + description = forms.CharField(widget=forms.Textarea(attrs={'cols': 85, 'rows': 10})) class Meta: model = Name fields = ['type','value','short','description'] |