title: Restricting length of a form using simple_form?
body: <p>I'm using simple form for a basic login form for my site within the nav area at the top of the page.</p>
  
  <p>Currently, it's spilling the form fields over two rows and no matter how many <code>display: inline</code> attributes I apply. It still refuses to go back onto one line.
  What im trying to do is restrict the number of characters in the form so that the fields fit onto one line.</p>
  
  <p>Here's my current form code..</p>
  
  <pre><code>&lt;%= simple_form_for("user", :url =&gt; user_session_path, :html =&gt; {:id =&gt; "sign_in", :class =&gt; 'form-inline' }, :remote =&gt; true, :format =&gt; :json) do |f| %&gt;
      &lt;%= f.input :email %&gt;
      &lt;%= f.input :password %&gt;
      &lt;%= f.submit 'Login' %&gt;
      &lt;%= link_to "Forgot your password?", new_password_path('user') %&gt;
    &lt;% end %&gt;
  </code></pre>