I am trying to have class="text" in my input fields when using a custom wrapper called :hinted in simple_form 2.0.0.rc
config.wrappers :hinted do |b|
b.use :input, :class => "text"
end
but the output doesn’t have that class, I tried
:wrap_with => {:class => 'text'}
to no avail
Does anyone know how this is done?
Thank You!
Currently there no way to do this. You can use the
defaultsoptions like this if you want.