def render_booleanfield(field, attrs):
attrs.setdefault("<STR_LIT>", True)  <EOL>attrs.setdefault("<STR_LIT>", True)  <EOL>field.field.widget.attrs["<STR_LIT>"] = "<STR_LIT>"  <EOL>return wrappers.CHECKBOX_WRAPPER % {<EOL>"<STR_LIT>": pad(attrs.get("<STR_LIT>", "<STR_LIT>")),<EOL>"<STR_LIT>": field,<EOL>"<STR_LIT:label>": format_html(<EOL>wrappers.LABEL_TEMPLATE, field.html_name, mark_safe(field.label)<EOL>)<EOL>}<EOL>
Render BooleanField with label next to instead of above.