plataformatec/simple_form — Issue #434: :class for b.label not applied
Author: behrangsa
Created: 2012-02-04 12:40:38+00:00
State: open

Looks like `:class` for `b.label` is not getting picked up by simple_form:

```ruby
config.wrappers :tag => :div, :class => :"control-group",
:error_class => :field_with_errors do |b|
b.use :label, :class => :"control-label"
b.use :hint, :tag => :span, :class => :hint
b.use :error, :tag => :span, :class => :error
b.use :tag => 'div', :class => "controls" do |bi|
bi.use :input
end
end
```

I expected labels in the generated forms to have the `control-label` class but they don't.