web/views/boxes.py
changeset 399 8df3b190275b
parent 185 9fc69c46e5e7
child 431 18b4dd650ef8
--- a/web/views/boxes.py	Tue Jan 13 17:58:58 2009 +0100
+++ b/web/views/boxes.py	Wed Jan 14 11:48:24 2009 +0100
@@ -105,6 +105,7 @@
 
     def workflow_actions(self, entity, box):
         if 'in_state' in entity.e_schema.subject_relations() and entity.in_state:
+            _ = self.req._
             state = entity.in_state[0]
             transitions = list(state.transitions(entity))
             if transitions: