web/widgets.py
branch894685124c68
changeset 1200 0d12d4371d11
parent 1190 15fc369bc3ca
child 1211 90bb6e89e356
--- a/web/widgets.py	Wed Apr 01 17:25:40 2009 +0200
+++ b/web/widgets.py	Wed Apr 01 17:26:36 2009 +0200
@@ -449,7 +449,7 @@
 
 
 class YesNoRadioWidget(CheckBoxWidget):
-    
+    html_attributes = Widget.html_attributes | set(('disabled',))
     def _edit_render(self, entity):
         value = self.current_value(entity)
         dvalue = self.current_display_value(entity)