--- a/web/views/workflow.py Tue May 12 11:49:30 2009 +0200
+++ b/web/views/workflow.py Tue May 12 11:56:12 2009 +0200
@@ -8,6 +8,7 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__ = "restructuredtext en"
+_ = unicode
from logilab.mtconverter import html_escape
from logilab.common.graph import escape, GraphGenerator, DotBackend
@@ -23,13 +24,6 @@
from cubicweb.web.views import TmpFileViewMixin
from cubicweb.web.views.boxes import EditBox
-_ = unicode
-
-EditBox.rmode.tag_relation('!Transition', 'destination_state', '*', 'create')
-EditBox.rmode.tag_relation('*', 'allowed_transition', '!Transition', 'create')
-EditBox.rmode.tag_relation('*', 'destination_state', '!State', 'create')
-EditBox.rmode.tag_relation('!State', 'allowed_transition', '*', 'create')
-
# IWorkflowable views #########################################################