title: How do I create a Django form that displays a checkbox label to the right of the checkbox?
body: <p>When I define a Django form class similar to this:</p>
  
  <pre><code>def class MyForm(forms.Form):
      check = forms.BooleanField(required=True, label="Check this")
  </code></pre>
  
  <p>It expands to HTML that looks like this:</p>
  
  <pre><code>&lt;form action="." id="form" method=POST&gt;
  &lt;p&gt;&lt;label for="check"&gt;Check this:&lt;/label&gt; &lt;input type="checkbox" name="check" id="check" /&gt;&lt;/p&gt;
  &lt;p&gt;&lt;input type=submit value="Submit"&gt;&lt;/p&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I would like the checkbox input element to have a label that follows the checkbox, not the other way around. Is there a way to convince Django to do that?</p>
  
  <p><strong>[Edit]</strong></p>
  
  <p>Thanks for the answer from Jonas - still, while it fixes the issue I asked about (checkbox labels are rendered to the right of the checkbox) it introduces a new problem (all widget labels are rendered to the right of their widgets...)</p>
  
  <p>I'd like to avoid overriding _html_output() since it's obviously not designed for it. The design I would come up with would be to implement a field html output method in the Field classes, override the one for the Boolean field and use that method in _html_output(). Sadly, the Django developers chose to go a different way, and I would like to work within the existing framework as much as possible. </p>
  
  <p>CSS sounds like a decent approach, except that I don't know enough CSS to pull this off or even to decide whether I like this approach or not. Besides, I prefer markup that still resembles the final output, at least in rendering order.</p>
  
  <p>Furthermore, since it can be reasonable to have more than one style sheet for any particular markup, doing this in CSS could mean having to do it multiple times for multiple styles, which pretty much makes CSS the wrong answer. </p>
  
  <p><strong>[Edit]</strong></p>
  
  <p>Seems like I'm answering my own question below. If anyone has a better idea how to do this, don't be shy.</p>