rename form.tpl to edit.tpl and add some divs for top level