title: Simple Form Custom Wrapper, class on input
body: <p>I am using the simple_form gem.</p>
  
  <p>I have a custom wrapper, here is the code:</p>
  
  <pre><code>  config.wrappers :inlineBootstrap, :tag =&gt; 'div', :class =&gt; 'control-group', :error_class =&gt; 'error' do |b|
      b.use :html5
      b.use :placeholder
      b.use :label, :class =&gt; "col-lg-2"
      b.wrapper :tag =&gt; 'div', :class =&gt; 'controls col-lg-10' do |ba|
        ba.use :input, :class =&gt; "form-control"
        ba.use :error, :wrap_with =&gt; { :tag =&gt; 'span', :class =&gt; 'help-inline' }
        ba.use :hint,  :wrap_with =&gt; { :tag =&gt; 'p', :class =&gt; 'help-block' }
      end
    end
  </code></pre>
  
  <p>I want this line of code:</p>
  
  <pre><code>ba.use :input, :class =&gt; "form-control"
  </code></pre>
  
  <p>to generate the class on the actual input, what it does right now is generating a wrapper over the input and adding the class to the wrapper, not the input.</p>
  
  <p>any sugestions?</p>