create form partial, refactor edit and new