created partials for the edit and add forms