Use new helper method map_object to simplify form creation