title: Rails - form_for how to keep in same line?
body: <p>For my form below, how would I prevent the form from skipping to the next line? I have taken a look at bootstrap class "form-inline" and did not seem to work as it disabled my form.</p>
  
  <pre><code>Hello World!
  &lt;%= form_for(current_user.likes.build(blog_id: blog.id)) do |f| %&gt;
      &lt;div&gt;&lt;%= f.hidden_field :blog_id %&gt;&lt;/div&gt;
      &lt;%= f.submit "Submit" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>This results in:</p>
  
  <pre><code>Hello World!
  &lt;Submit Button&gt;
  </code></pre>
  
  <p><strong>Question: How do I make it come in one row so it is as follows:</strong></p>
  
  <pre><code>Hello World!&lt;Submit Button&gt;
  </code></pre>