summaryrefslogtreecommitdiff
path: root/coip/apps/name/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'coip/apps/name/forms.py')
-rw-r--r--coip/apps/name/forms.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/coip/apps/name/forms.py b/coip/apps/name/forms.py
index 0c96480..62c6fb5 100644
--- a/coip/apps/name/forms.py
+++ b/coip/apps/name/forms.py
@@ -12,4 +12,9 @@ class NameForm(forms.ModelForm):
class AttributeForm(forms.ModelForm):
class Meta:
- model = Attribute \ No newline at end of file
+ model = Attribute
+
+class NameEditForm(forms.ModelForm):
+ class Meta:
+ model = Name
+ fields = ['short','description'] \ No newline at end of file