new/edit form refactored to partial