--- a/web/views/cwproperties.py Wed Apr 29 10:55:57 2009 +0200
+++ b/web/views/cwproperties.py Wed Apr 29 11:24:11 2009 +0200
@@ -12,10 +12,9 @@
from cubicweb import UnknownProperty
from cubicweb.selectors import (one_line_rset, none_rset, implements,
- match_user_groups, entity_implements)
-from cubicweb.utils import UStringIO
+ match_user_groups)
from cubicweb.view import StartupView
-from cubicweb.web import INTERNAL_FIELD_VALUE, eid_param, uicfg
+from cubicweb.web import uicfg
from cubicweb.web.views import baseviews
from cubicweb.web import stdmsgs
from cubicweb.web.form import CompositeForm, EntityFieldsForm, FormViewMixIn
@@ -24,9 +23,6 @@
_ = unicode
-uicfg.rfields.tag_relation(PropertyKeyField, ('CWProperty', 'pkey', '*'), 'subject')
-uicfg.rfields.tag_relation(PropertyValueField, ('CWProperty', 'value', '*'), 'subject')
-
# some string we want to be internationalizable for nicer display of eproperty
# groups
_('navigation')
@@ -327,3 +323,6 @@
wdg.attrs.setdefault('size', 3)
self.widget = wdg
+
+uicfg.rfields.tag_relation(PropertyKeyField, ('CWProperty', 'pkey', '*'), 'subject')
+uicfg.rfields.tag_relation(PropertyValueField, ('CWProperty', 'value', '*'), 'subject')