refactored out the edit form view into its own partial view