Refactors item form into partial, adds edit