GoodRx/pyramid_simpleform — pull request #2 by kstark (2014-07-17 21:19: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).