# HG changeset patch # User Thierry Florac # Date 1444289456 -7200 # Node ID 68678e37a77acdbdf35e523618e60dcaf17e4a63 # Parent 229a501edd44731687b78c89b0b004a8bb7d9de0 Added widget template for hidden mode diff -r 229a501edd44 -r 68678e37a77a src/pyams_security/widget/__init__.py --- a/src/pyams_security/widget/__init__.py Thu Oct 08 09:30:25 2015 +0200 +++ b/src/pyams_security/widget/__init__.py Thu Oct 08 09:30:56 2015 +0200 @@ -204,6 +204,7 @@ @widgettemplate_config(mode='input', template='templates/principal-input.pt', layer=IFormLayer) @widgettemplate_config(mode='display', template='templates/principal-display.pt', layer=IFormLayer) +@widgettemplate_config(mode='hidden', template='templates/principal-hidden.pt', layer=IFormLayer) @implementer_only(IPrincipalWidget) class PrincipalWidget(HTMLInputWidget, Widget): """Principal widget"""