src/pyams_security/widget/__init__.py
changeset 53 68678e37a77a
parent 42 07229ac2497b
child 63 402858ec5ac9
equal deleted inserted replaced
52:229a501edd44 53:68678e37a77a
   202         return value
   202         return value
   203 
   203 
   204 
   204 
   205 @widgettemplate_config(mode='input', template='templates/principal-input.pt', layer=IFormLayer)
   205 @widgettemplate_config(mode='input', template='templates/principal-input.pt', layer=IFormLayer)
   206 @widgettemplate_config(mode='display', template='templates/principal-display.pt', layer=IFormLayer)
   206 @widgettemplate_config(mode='display', template='templates/principal-display.pt', layer=IFormLayer)
       
   207 @widgettemplate_config(mode='hidden', template='templates/principal-hidden.pt', layer=IFormLayer)
   207 @implementer_only(IPrincipalWidget)
   208 @implementer_only(IPrincipalWidget)
   208 class PrincipalWidget(HTMLInputWidget, Widget):
   209 class PrincipalWidget(HTMLInputWidget, Widget):
   209     """Principal widget"""
   210     """Principal widget"""
   210 
   211 
   211     @property
   212     @property