Skip to content

Commit

Permalink
Allows use of Integer values with RadioChoiceWidget. Related to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Jaques committed Apr 24, 2012
1 parent 0a2237b commit b4fb7f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Next release
link of a SequenceWidget. See
https://github.com/Pylons/deform/issues/85 .

- Allow the use of Integer values with SelectWidget. See
- Allow the use of Integer values with SelectWidget, and RadioChoiceWidget. See
https://github.com/Pylons/deform/issues/81 .

- CheckedInputWidget and CheckedPasswordWidget now populate the "confirm"
Expand Down
2 changes: 1 addition & 1 deletion deform/templates/radio_choice.pt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<tal:loop tal:repeat="choice field.widget.values">
<tal:def tal:define="(value, title) choice">
<li class="deformSet-item">
<input tal:attributes="checked value == cstruct;
<input tal:attributes="checked str(value) == cstruct;
class field.widget.css_class"
type="radio"
name="${field.oid}"
Expand Down

0 comments on commit b4fb7f2

Please sign in to comment.