gregbell/active_admin — Issue #675: table_for inside `show` view doesn't use I18n
Author: ZequeZ
Created: 2011-10-25 02:26:12+00:00
State: open

If you write the following:

```ruby
show do
panel 'Comments' do
table_for post.comments do
column :user_name
column :user_email
column :content
end
end
end
```

It only humanize the keys, but it does not call I18n
For it to call I18n you have to do the following:

```ruby
show do
panel 'Comments' do
table_for post.comments, i18n: Comment do
column :user_name
column :user_email
column :content
end
end
end
```

`table_for` inside the `show` view is just calling the default HTML builder function, so I think it should call specific DSL for the show view (I guess even a helper would do?) that behaves the same way as the `index` table.