Pylons/pyramid_simpleform — pull request #17 by WuShell (2014-06-16 16:52:09+00:00)
Title: Take in account the "checked" parameter when rendering a checkbox

, using that value in case no default value has been provided for that field.

Otherwise, checked is ignored when trying things like:

${form.checkbox('some_checkbox', 'This is a checkbox', checked=True)}

in templates, to automatically check the checkbox (based on some parameter available in the template context, for example).