web/views/eproperties.py
branchtls-sprint
changeset 1151 b20677336ee6
parent 1149 1e19b6ef53a1
child 1153 6a7636b32a97
--- a/web/views/eproperties.py	Thu Mar 26 19:15:57 2009 +0100
+++ b/web/views/eproperties.py	Thu Mar 26 20:11:20 2009 +0100
@@ -17,6 +17,10 @@
 from cubicweb.web import INTERNAL_FIELD_VALUE, eid_param
 from cubicweb.web.views import baseviews
 from cubicweb.web.form import FormMixIn
+from cubicweb.web.views.editform import AutomaticEntityForm
+
+AutomaticEntityForm.rwidgets.set_rtag('PropertyKeyWidget', 'pkey', 'subject', 'EProperty')
+AutomaticEntityForm.rwidgets.set_rtag('PropertyValueWidget', 'value', 'subject', 'EProperty')
 
 _ = unicode