code: def render_booleanfield(field, attrs):
  	
  	attrs.setdefault("_no_label", True)  # No normal label for booleanfields
  	attrs.setdefault("_inline", True)  # Checkbox should be inline
  	field.field.widget.attrs["style"] = "display:hidden"  # Hidden field
  
  	return wrappers.CHECKBOX_WRAPPER % {
  		"style": pad(attrs.get("_style", "")),
  		"field": field,
  		"label": format_html(
  			wrappers.LABEL_TEMPLATE, field.html_name, mark_safe(field.label)
  		)
  	}
docs: Render BooleanField with label next to instead of above.