diff options
author | Leif Johansson <leifj@sunet.se> | 2010-07-09 00:14:16 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-07-09 00:14:16 +0200 |
commit | 342cb7d1edb536378f462d6a7757c2f9ccdfe1ea (patch) | |
tree | 90fc81da1afc78a34e98cfc6f54c28ad3e5a5a62 /coip/apps/name/forms.py | |
parent | 2bb8b5dd3eee47e665da570eb72cfea87c6ca3fe (diff) |
basic edit view for nodes
Diffstat (limited to 'coip/apps/name/forms.py')
-rw-r--r-- | coip/apps/name/forms.py | 7 |
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 |