Skip to content

Commit

Permalink
Reverse merge to be consistent with defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
butsjoh committed Nov 28, 2013
1 parent 1d316fd commit 38e5a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/simple_form/components/label_input.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def label_input
def apply_label_input_options(options)
[:input_html, :label_html].each do |key|
if options.has_key?(key)
options[key].merge! options.fetch(:label_input_html, {})
options[key].reverse_merge! options.fetch(:label_input_html, {})
end
end
end
Expand Down

0 comments on commit 38e5a04

Please sign in to comment.