# HG changeset patch # User Stephanie Marcu # Date 1238398336 -7200 # Node ID 15fc369bc3cac5daf1ac6f95d5601c507c61be15 # Parent 8a075bc94563220eb8f4d67477e0063e02ece094 add 'disabled' in html_attributes for YesNoRadioWidget diff -r 8a075bc94563 -r 15fc369bc3ca web/widgets.py --- a/web/widgets.py Mon Mar 30 01:09:16 2009 +0200 +++ b/web/widgets.py Mon Mar 30 09:32:16 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)