Skip to content

Commit

Permalink
Fixed my silly mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
developer88 committed Mar 6, 2013
1 parent c828a41 commit 9ce1d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin/form_builder.rb
Expand Up @@ -74,7 +74,7 @@ def has_many(association, options = {}, &block)
content = with_new_form_buffer do
template.content_tag :div, :class => "has_many #{association}" do
if options[:title]
title = template.content_tag(:h3, object.class.reflect_on_association(association).klass.model_name.human(:count => 1.1)) unless options[:title] == false
title = template.content_tag(:h3, object.class.reflect_on_association(association).klass.model_name.human(:count => 1.1))
form_buffers.last << title
end

Expand Down

0 comments on commit 9ce1d79

Please sign in to comment.