gregbell/active_admin — Issue #832: "Ugly" rendering of has_many form
Author: ique
Created: 2011-12-09 15:15:11+00:00
State: open

In lib/active_admin/form_builder.rb in the method has_many there is this line:

form_buffers.last << template.content_tag(:h3, association.to_s.titlecase)

This creates an h3 tag in the form that I cannot remove in any way, resulting in a form that looks like this:

http://dl.dropbox.com/u/6922/Screenshots/r.png

http://dl.dropbox.com/u/6922/Screenshots/s.png

This isn't a critical problem, I could remove it with CSS or something like that. But it would be nice if I could use the optionally passed options hash to set something like :title => nil to remove it completely. I'd rather just use the already built-in good-looking headers.