title: simple_form label to be column value
body: <p>I am using simple_form in rails and have a situation where I want the label to be the value from another field. In this case that field is not to be changed and so I don't want to be on the form.</p>
  
  <p>To explain a bit better I have two lines that look like</p>
  
  <pre><code>&lt;%= f.input :name, :label =&gt; false, :disabled =&gt; true, :input_html =&gt; { :class =&gt; 'input-small' } %&gt;
  &lt;%= f.input :status, :collection =&gt; ["Not started", "Passed", "Failed"], :include_blank =&gt; false, :label =&gt; false %&gt;
  </code></pre>
  
  <p>What I'd like to do is have the first element to be the label of the second element. Now I could do this by having them inline, but I'd like them to be lined up with the other elements so that the labels and inputs are lined up.</p>
  
  <p>so doing something like</p>
  
  <pre><code>&lt;%= f.input :status, :collection =&gt; ["Not started", "Passed", "Failed"], :include_blank =&gt; false, :label =&gt; f.name %&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;%= f.input :status, :collection =&gt; ["Not started", "Passed", "Failed"], :include_blank =&gt; false, :label =&gt; {f.input :name, :label =&gt; false, :disabled =&gt; true} %&gt;
  </code></pre>
  
  <p>Any thoughts on how to get around this?</p>
  
  <p>Michael</p>