From c5fafe5c3fe2f71fb7b6f37922aeab1b7cb95b3e Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Aug 2010 14:14:48 +0200 Subject: break out invitation --- coip/apps/name/forms.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coip/apps/name/forms.py') 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'] -- cgit v1.1