Changeset 831

Show
Ignore:
Timestamp:
06/13/07 18:35:26 (2 years ago)
Author:
sgillies
Message:

Add principals to all views

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Bibliomane/trunk/bibliomane/browser/works.py

    r828 r831  
    6363        return [w for w in self.widgets] 
    6464 
     65    @property 
     66    def principals(self): 
     67        return self.context.principals 
     68 
    6569 
    6670class ExpressionEditForm(EditForm): 
     
    9094    def frbr_widgets(self): 
    9195        return [w for w in self.widgets] 
     96 
     97    @property 
     98    def principals(self): 
     99        return self.context.principals 
    92100 
    93101 
     
    119127        return [w for w in self.widgets] 
    120128 
     129    @property 
     130    def principals(self): 
     131        return self.context.principals 
     132 
    121133 
    122134class ItemEditForm(EditForm):