title: Howto make twitter bootstrap compatible checkbox labels in simple_form?
body: <p>I'm trying to get two labels for one check box as described in Twitter Bootstrap's documentation. (see <a href="http://twitter.github.com/bootstrap/base-css.html#forms" rel="nofollow">http://twitter.github.com/bootstrap/base-css.html#forms</a> --> horizontal forms --> checkbox (below text input))</p>
  
  <p>So what I want to display is a label for the description on the left, the check box itself and a hint right next to it on the right.</p>
  
  <p>The standard implementation of twitter bootstrap in simple_form gem creates a <code>&lt;p&gt;</code> tag for displaying the hint since it tries to be consistent for all kinds of inputs.</p>
  
  <p>I now want to create a custom wrapper for "bootstrap checkboxes" in the simple_form initializer but I just cannot figure out how to solve this.</p>
  
  <p>This is how I currently implemented it using bare rails (erb):</p>
  
  <pre><code>&lt;div class="control-group"&gt;
   &lt;%= f.label :recurring, :class =&gt; 'control-label' %&gt;
   &lt;div class="controls"&gt;
     &lt;%= f.label :recurring, :class =&gt; 'checkbox' do %&gt;
      &lt;%= f.check_box :recurring %&gt;
      &lt;%= t('.recurring_hint') %&gt;
     &lt;% end %&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Can you help me or at least try to explain how these custom wrapper thing works? Thank you!</p>
  
  <p><strong>Edit:</strong> Let me ask my question more precisely: Can I use simple_form's wrappers API to use a label as a wrapper?</p>