title: Rails simple form problem - How to put hidden input field last?
body: <p>How do I change the order of the input element that simple form generate? </p>
  
  <p>Because the hidden checkbox does block for clicking the label.</p>
  
  <p>My simple_form code:</p>
  
  <pre><code>&lt;label&gt;
    &lt;span&gt;Company&lt;b&gt;&lt;/b&gt;&lt;/span&gt;
    &lt;%= f.check_box :company_is_true %&gt;
  &lt;/label&gt;
  </code></pre>
  
  <p>The form simple form generate:</p>
  
  <pre><code>    &lt;label&gt;
          &lt;span&gt;Company&lt;b&gt;0&lt;/b&gt;&lt;/span&gt;
         &lt;input type="hidden" value="0" name="search[company_is_true]"&gt;
  &lt;input type="checkbox" value="1" name="search[company_is_true]" id="search_company_is_true"&gt;
        &lt;/label&gt;
  </code></pre>
  
  <p>That I want to generate, that works when clicking on label: </p>
  
  <pre><code>&lt;label&gt;
      &lt;span&gt;Company&lt;b&gt;0&lt;/b&gt;&lt;/span&gt;
  
  &lt;input type="checkbox" value="1" name="search[company_is_true]" id="search_company_is_true"&gt;
      &lt;input type="hidden" value="0" name="search[company_is_true]"&gt;
    &lt;/label&gt;
  </code></pre>