Do not propagate hint_class wrapper option to the input
This commit is contained in:
parent
2d44322f59
commit
9373dfb63b
|
@ -7,7 +7,7 @@ module SimpleForm
|
|||
|
||||
def initialize(*args)
|
||||
super(:wrapper, *args)
|
||||
@options = @defaults.except(:tag, :class, :error_class)
|
||||
@options = @defaults.except(:tag, :class, :error_class, :hint_class)
|
||||
end
|
||||
|
||||
def render(input)
|
||||
|
|
|
@ -287,7 +287,6 @@ class FormBuilderTest < ActionView::TestCase
|
|||
assert_select 'input.default_class#specific_id'
|
||||
end
|
||||
|
||||
|
||||
# WITHOUT OBJECT
|
||||
test 'builder should generate properly when object is not present' do
|
||||
with_form_for :project, :name
|
||||
|
|
Loading…
Reference in New Issue