title: How to keep a checkbox and label on the same line in a Rails form?
body: <p>What should I do to keep the label of a checkbox on the same line with the checkbox in a rails view containing a form? </p>
  
  <p>Currently the label goes on the next line:</p>
  
  <pre><code>&lt;div class="span6 offset3"&gt;
  &lt;%= form_for(@user) do |f| %&gt;
  &lt;%= render 'shared/error_messages', object: f.object %&gt;
  
    &lt;%= f.label :name %&gt;
    &lt;%= f.text_field :name %&gt;
  
    &lt;br&gt;
    &lt;%= f.check_box :terms_of_service %&gt;
    &lt;%= f.label :terms_of_service, "I agree to the #{link_to 'Terms of Service', policies_path}.".html_safe %&gt;
    &lt;br&gt;&lt;br&gt;
  
    &lt;%= f.submit "Create my account", :class =&gt; "btn btn-large btn-primary" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thank you,
  Alexandra</p>