fix dumb bug

This commit is contained in:
John Bintz 2012-10-25 15:02:00 -04:00
parent 53074502b1
commit 042fcc9976

View File

@ -18,7 +18,7 @@ class CocoonInput
template.link_to_add_association template.t('.add'), builder, method, input_html_options template.link_to_add_association template.t('.add'), builder, method, input_html_options
end end
data = wraper_html_options.merge(:class => 'input cocoon') data = wrapper_html_options.merge(:class => 'input cocoon')
if options[:ordered_by] if options[:ordered_by]
data['data-ordered_by'] = options[:ordered_by] data['data-ordered_by'] = options[:ordered_by]
end end