How to group fields in the form without grouping them in the node view? My issue is that using the field_group module will create field groups for the form and the node view. And I don't want to group fields for viewing, I just want to make the form neater.

Here's a failed attempt (seems to ignore the values from body and title fields): https://gist.github.com/9651054
Found it. Turns out the array keys are very important. The first time around, I added the form fields to the fieldset without any keys. It started working just by adding the proper array keys to the fieldset, see the last revision.