title: How to use radio button correctly in rails?
body: <p>I'm trying to create some radio buttons and I'm not sure how to.  Following <a href="https://stackoverflow.com/questions/746387/labels-for-radio-buttons-in-rails-form">this</a> question I've got it set up working almost correct, but I'm new to this and not sure why I can't figure it out completely.  So what I'm doing is putting a label to group the boolean and then have radio buttons which are labeled Yes and No.  If the user clicks the label of Yes it should select the radio button yes (right now they can only click the button itself).  This is my code as follows:</p>
  
  <pre><code>  &lt;div class="field"&gt;
      &lt;%= f.label :autolyse %&gt;&lt;br /&gt;
      &lt;%= f.label :autolyse, "Yes", :value =&gt; "Yes"  %&gt;
      &lt;%= f.radio_button :autolyse, true%&gt;
      &lt;%= f.label :autolyse, "No", :value =&gt; "No" %&gt;
      &lt;%= f.radio_button :autolyse, false, :checked =&gt; true %&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>The first label is for the group, it labels the group "Autolyse".  Then I want a Label for "Yes", which if selected will will set true, and then obviously the next one is for False.  How do I get this set up correctly?</p>