summaryrefslogtreecommitdiff
path: root/coip/apps/name/forms.py
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2010-08-04 14:14:48 +0200
committerLeif Johansson <leifj@sunet.se>2010-08-04 14:14:48 +0200
commitc5fafe5c3fe2f71fb7b6f37922aeab1b7cb95b3e (patch)
treeceda634a94e73ce549dc40b9219f648806fce891 /coip/apps/name/forms.py
parentad3059c636885a72fad6771115177ec33116f047 (diff)
break out invitation
Diffstat (limited to 'coip/apps/name/forms.py')
-rw-r--r--coip/apps/name/forms.py3
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']