From 042fcc997699f192a217d6dd12644f387da9ed3c Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 25 Oct 2012 15:02:00 -0400 Subject: [PATCH] fix dumb bug --- lib/cocoon/formtastic/cocoon_input.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoon/formtastic/cocoon_input.rb b/lib/cocoon/formtastic/cocoon_input.rb index f07dd1d..9198f94 100644 --- a/lib/cocoon/formtastic/cocoon_input.rb +++ b/lib/cocoon/formtastic/cocoon_input.rb @@ -18,7 +18,7 @@ class CocoonInput template.link_to_add_association template.t('.add'), builder, method, input_html_options end - data = wraper_html_options.merge(:class => 'input cocoon') + data = wrapper_html_options.merge(:class => 'input cocoon') if options[:ordered_by] data['data-ordered_by'] = options[:ordered_by] end