title: form_for closes <form> tag
body: <p>I have a strange situation happening on a page where my <code>&lt;form&gt;</code> tags are being closed immediately, leaving the form's contents on their own and not useful.</p>
  <p>Here's the basic ERB:</p>
  <pre><code>&lt;%= form_for(@review) do |f| %&gt;
     &lt;%= render 'apply/review_form', :locals =&gt; {:f =&gt; f} %&gt;
     &lt;%= f.text_field :notes %&gt;
  &lt;% end %&gt;
  </code></pre>
  <p>Seems simple, right? I have tried the partial on its own; the <code>text_field</code> on its own; a different version using <code>form_tag</code>, but nothing works.</p>
  <p>The HTML looks like this:</p>
  <pre><code>&lt;div id=&quot;reviewContainer&quot;&gt;
    &lt;form accept-charset=&quot;UTF-8&quot; action=&quot;/reviews&quot; class=&quot;new_review&quot; id=&quot;new_review&quot; method=&quot;post&quot;&gt;
    &lt;/form&gt;
    &lt;div style=&quot;margin:0;padding:0;display:inline&quot;&gt;
      &lt;input name=&quot;utf8&quot; type=&quot;hidden&quot; value=&quot;✓&quot;&gt;
      &lt;input name=&quot;authenticity_token&quot; type=&quot;hidden&quot; value=&quot;dJSuLMfhBSVKAM3Buwe1NjtBedSLQl062/+oliGbBfE=&quot;&gt;
    &lt;/div&gt;
    &lt;input id=&quot;review_notes&quot; name=&quot;review[notes]&quot; size=&quot;30&quot; type=&quot;text&quot;&gt;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Any ideas? It seems so simple I can't understand why it wouldn't be working!</p>
  <hr />
  <h3>Possibly helpful information</h3>
  <p>This form is not the only form on the page, and it is enclosed in a JQuery Tools Scrollable.</p>