From 38e5a04285e1cd0972fb866713119523142b4955 Mon Sep 17 00:00:00 2001 From: Johan Buts Date: Thu, 28 Nov 2013 12:05:16 +0100 Subject: [PATCH] Reverse merge to be consistent with defaults --- lib/simple_form/components/label_input.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_form/components/label_input.rb b/lib/simple_form/components/label_input.rb index eaf988af3..e9e5819bb 100644 --- a/lib/simple_form/components/label_input.rb +++ b/lib/simple_form/components/label_input.rb @@ -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