gregbell/active_admin — Issue #813: Using table in index partial messes up everything
Author: durchanek
Created: 2011-12-04 19:01:24+00:00
State: open

I wanted to add one panel on the top of default index view, so i started with:

index do
panel 'label' do
render :partial => 'index_header'
end
# Some more stuff
end

Everything works OK until I put table inside the partial - after this, everything is messed up. This is OK:
<div>foo</div>

This one renders table OUTSIDE the panel and even moves the footer:
<table><tr><td>bar</td></tr></table>